diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-10 08:19:13 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-10 08:19:13 +0200 |
commit | 2c5a66efd25f6d828f350b0fad3e7d54c57b3dff (patch) | |
tree | 1672da329c3bff81e56824295c3cb3e71c42c77b /html | |
parent | log real client IP address (diff) | |
download | linux-status-2.3.1.tar.gz linux-status-2.3.1.zip |
sort Docker containers by namev2.3.1
Diffstat (limited to '')
-rw-r--r-- | html/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
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 = $('<tbody/>'); + data.sort(function(a, b) { + return a.name.localeCompare(b.name); + }); data.forEach(function(info) { body.append(make_docker_table_row(info)); }); |