Implemented sort requirements