Skip to content
bitlessPublic

About

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

Resources

Stars

16 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages