From 2c5a66efd25f6d828f350b0fad3e7d54c57b3dff Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 10 Oct 2022 08:19:13 +0200 Subject: sort Docker containers by name --- html/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/index.html b/html/index.html index 41a6e49..c70d862 100644 --- a/html/index.html +++ b/html/index.html @@ -280,6 +280,9 @@ function make_docker_table_row(info) { function make_docker_table(data) { let body = $(''); + data.sort(function(a, b) { + return a.name.localeCompare(b.name); + }); data.forEach(function(info) { body.append(make_docker_table_row(info)); }); -- cgit v1.2.3