Implemented sorting by surnames. Wow.