PS2: Sorting-related Problems