// import package commonJs / destructuring
var { sortObjectArrByProps } = require("@nighly/sort-object-array-by-property");
// an array of objects {}[] or an array of arrays [][] for testing:
// * an array of arrays: the properties are called indices, and are numbers:
var list = [ [ 1, 65, 74, 25 ], [ 2, 65, 36, 20 ], [ 1, 65, 74, 20 ], [ 1, 65, 32, 15], [ 2, 65, 36, 40 ], [ 1, 65, 32, 25 ] ];
// unordered list
list.forEach((item) => console.log(item));