Cpp Sort Array Of Objects Alphabetically Puzzle