Word sorter