diff --git a/packages/vuepress-theme-reco/src/client/layouts/Timeline.vue b/packages/vuepress-theme-reco/src/client/layouts/Timeline.vue index 546b4061..6dd9961a 100644 --- a/packages/vuepress-theme-reco/src/client/layouts/Timeline.vue +++ b/packages/vuepress-theme-reco/src/client/layouts/Timeline.vue @@ -59,7 +59,7 @@ interface TimelineData { data: any } -const timelineData: Array = Object.keys(dataMap).reduce( +const timelineData: Array = Object.keys(dataMap).sort((a, b) => b - a).reduce( (all: Array, next: string) => { all.push({ year: next, @@ -71,4 +71,4 @@ const timelineData: Array = Object.keys(dataMap).reduce( [] ) -@client/components/GenericContainer/index.vue +