reverse sort order for tags
This commit is contained in:
parent
a4b571fc3d
commit
892fb67976
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ fn collect_tags(posts: &Vec<PostMetadata>) -> IndexMap<Arc<str>, u64> {
|
|||
}
|
||||
|
||||
tags.sort_unstable_by(|k1, _v1, k2, _v2| k1.cmp(k2));
|
||||
tags.sort_by(|_k1, v1, _k2, v2| v1.cmp(v2));
|
||||
tags.sort_by(|_k1, v1, _k2, v2| v2.cmp(v1));
|
||||
|
||||
tags
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue