Redundant functions in sort_utils module has been removed.