Created a command line npm package for adding the sort order to a hierarchical object tree.