I personally think this method should be removed; sorter.apply(child) is more clear.