halfway done with part 1, sorting isn't working for some reason.