aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/views/page_view.ex
diff options
context:
space:
mode:
Diffstat (limited to 'shardweb/lib/views/page_view.ex')
-rw-r--r--shardweb/lib/views/page_view.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/shardweb/lib/views/page_view.ex b/shardweb/lib/views/page_view.ex
index eb88617..9d7dd6d 100644
--- a/shardweb/lib/views/page_view.ex
+++ b/shardweb/lib/views/page_view.ex
@@ -14,5 +14,6 @@ defmodule ShardWeb.PageView do
def shard_list do
Shard.Manager.list_shards
+ |> Enum.sort_by(fn {_,m,_} -> m end)
end
end