gulp-sort
Sort files in stream by path or any custom sort comparator
@thi.ng/compare
Comparators with support for types implementing the @thi.ng/api/ICompare interface
sortobject
Returns a copy of an object, sorted deeply by its keys, without mangling any arrays inside of it