Small javascript addon for sorting arrays of objects and objects of objects both on server (NodeJS) and client (browser) sides