Fixes sorting

removes compare fn