HW 2 Part 1 - column sorting