-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Dear creator:
I'd want to use your plugin like so:
var result = arraySort(posts,
['locals.foo', 'locals.date'],
[{reverse: true}, {reverse: false}]
);I'm sure this can be done with custom sorting, but it would be great if you could make this syntax work.
Or even better syntax imo:
var result = arraySort(posts, [
{field: 'locals.foo', direction: 'desc'},
{field: 'locals.date', direction: 'asc'},
]);turakvlad
Metadata
Metadata
Assignees
Labels
No labels