Add tests to demonstrate stable sorting for parse and addChild with custom comparator.