Simple linear time algorithm for sorting strings in omega-order with applications | Synapse