GBOS: Generalized Best Order Sort algorithm for non-dominated sorting Input - An array of solutions, each containing equal length arrays of objectives. Returns an array containing the rank of each solution gbos = require('GBOS-js') a = [[1,2],[2,3],[.5,2]] b = gbos(a) Use at your own risk.