Let word_data be sorted stably in phone.cin order.
Force length-one phrases to be arranged in phone.cin order.