Last active
November 11, 2020 17:58
-
-
Save dbauszus-glx/bf648bb9f710b505cbe17c833197c25f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const _collection = collection.getFilteredByGlob('**/*.md').sort( | |
(a, b) => (a.data.orderPath || a.filePathStem) | |
.localeCompare((b.data.orderPath || b.filePathStem)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment