feat(relativePagePaths): Sort pages alphabetically
This commit is contained in:
parent
9e8658caea
commit
6c5247b879
|
@ -135,11 +135,11 @@ export function relativePagePaths(wikiEntries: PageLinkData[], currentPath: stri
|
|||
}
|
||||
|
||||
return {
|
||||
siblingPages: Array.from(siblingPages.values()),
|
||||
childPages: Array.from(childPages.values()),
|
||||
siblingPages: Array.from(siblingPages.values()).sort(),
|
||||
childPages: Array.from(childPages.values()).sort(),
|
||||
|
||||
siblingDirectories,
|
||||
childDirectories,
|
||||
siblingDirectories: siblingDirectories.sort(),
|
||||
childDirectories: childDirectories.sort(),
|
||||
|
||||
currentPage,
|
||||
parentDirectory,
|
||||
|
|
Loading…
Reference in a new issue