Closed levsthings closed 7 years ago
Sorting is handled by the sort-object module, this is applied after all async processing has completed. That module does provide a couple hooks to write custom sort functions, would that be a good solution for your needs? I could expose access in the plugin's options.
Another option that's perhaps better: the gulp-json-sort plugin provides a similar sort function
Thank you for the suggestions, gulp-json-sort does the trick!
Great! I'll add a note about it in the readme on the next update
When combining bunch of Markdown files into a single JSON file, do we have any control over the order of objects? It appears that Markdown files are being added in an alphabetical order of their respective filename.
I'm using the task below: