Simplify the creation of complex/compound sorts on JavaScript arrays