yuan hui answered The sorting is an operation that segregates items into groups according to a specified criterion.