add exercise 16, testing sort and sort_by methods