diff --git a/themes/hugo-sustain/layouts/shortcodes/links.html b/themes/hugo-sustain/layouts/shortcodes/links.html
index bb058e0..6331a75 100644
--- a/themes/hugo-sustain/layouts/shortcodes/links.html
+++ b/themes/hugo-sustain/layouts/shortcodes/links.html
@@ -3,20 +3,20 @@
{{- if $type -}}
{{- $data = where $data "type" $type -}}
{{ end }}
+
{{- range sort $data "date" "desc" }}
-
- - {{.desc}} –
- {{- $len := (len .links) -}}
- {{- range $index, $element := .links -}}
- {{ with .href }}{{ end }}{{.text}}{{ with .href }}{{end}}
- {{- if ne (add $index 1) $len -}}, {{- end -}}
- {{- end -}}
- {{- if or (.video) (.audio) (.slides) }},{{ end -}}
- {{ with .video }} {{ end }}
- {{- with .audio }} {{ end }}
- {{ with .slides }} {{ end -}}
- {{- with .date }} ({{.}}){{ end }}
- {{ range .tags }}{{ . }} {{ end }}
-
-
+ - {{.desc}} –
+ {{- $len := (len .links) -}}
+ {{- range $index, $element := .links -}}
+ {{ with .href }}{{ end }}{{.text}}{{ with .href }}{{end}}
+ {{- if ne (add $index 1) $len -}}, {{- end -}}
+ {{- end -}}
+ {{- if or (.video) (.audio) (.slides) }},{{ end -}}
+ {{ with .video }} {{ end }}
+ {{- with .audio }} {{ end }}
+ {{ with .slides }} {{ end -}}
+ {{- with .date }} ({{.}}){{ end }}
+ {{ range .tags }}{{ . }} {{ end }}
+
{{ end }}
+