diff --git a/_global/Special:AllPages.html b/_global/Special:AllPages.html
index 25d1f8e..90080f8 100644
--- a/_global/Special:AllPages.html
+++ b/_global/Special:AllPages.html
@@ -3,10 +3,15 @@ layout: default
title: All pages
menu: ['global']
---
-
-{%- for page in site.data.wiki_pages -%}
+
+{%- assign sorted_page = site.data.wiki_pages | sort: "id" -%}
+{%- for page in sorted_page -%}
+ {%- assign page_name = page.id | slice: 1, 50 -%}
+ {%- if page_name != page.title -%}
+ {%- assign page_name = page_name | append: " - " | append: page.title -%}
+ {%- endif -%}
-
- {{ page.title }} [{{ page.bytes }} bytes]
+ {{ page_name }} [{{ page.bytes }} bytes]
{%- if page.author_full -%} (by {{ page.author_full.name }}) {%- endif -%}
{%- endfor -%}
diff --git a/_global/Special:Categories.html b/_global/Special:Categories.html
index a7f0f62..5db067b 100644
--- a/_global/Special:Categories.html
+++ b/_global/Special:Categories.html
@@ -4,12 +4,13 @@ title: Tags
menu: ['global']
---
-{%- for tag in site.data.wiki_tags -%}
+{%- assign sorted_tags = site.data.wiki_tags | sort -%}
+{%- for tag in sorted_tags -%}
{%- assign counter = 0 -%}
{%- for other_page in site.data.wiki_pages %}
{%- if other_page.tags contains tag -%}
{%- assign counter = counter | plus: 1 -%}
- {%- endif -%}
+ {%- endif -%}
{%- endfor -%}
- {{ tag }} ({{counter}} pages)