changed name from compareSort to compare-sort