Skip to content

SQL style asc/desc sorting of arrays of objects on multiple keys

License

Notifications You must be signed in to change notification settings

joshrhoades/mksort.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mksort.js

mksort.js is standalone JavaScript module providing SQL "ORDER BY" ASC/DESC sorting on multiple keys of arrays of objects.

Sorting arrays of uneven objects will be unpredictable if you use any keys missing from some objects.

This module was developed specifically to sort .rows arrays of csvjson.js csv2json output objects.

demo.html shows a sample use case.

Author: Fil Baumanis ( @unfail, @bitless )

About

SQL style asc/desc sorting of arrays of objects on multiple keys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published