a computer can sort a list of words