searching and sorting hw