Removed double sort