Sorting CS 3358. 2 Sorting means... Sorting rearranges the elements into either ascending or descending order within the array. (we’ll use ascending order.)