Added sorted word printer to wordlist class