Heuristic for sort added