SkillAgentSearch skills...

Mksort.js

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

Install / Use

/learn @bitless/Mksort.js
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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 )

Related Skills

View on GitHub
GitHub Stars16
CategoryData
Updated3y ago
Forks7

Languages

JavaScript

Security Score

75/100

Audited on Jan 8, 2023

No findings