Implemented sort by user tests