1. A method for determining a set of rules for ordering text of a language, said method comprising: receiving information that indicates a target order of sets of characters in text of a language; determining strengths of differences between the characters based on the target order; identifying strings of characters that were sorted in the target order as a shorter string of characters; identifying strings of characters that were sorted in the target order as a longer string of characters; and determining, using a processor, a set of rules for ordering text of the language based on the strengths of differences between the characters, the identified strings of characters that were sorted in the target order as a shorter string, and the identified strings of characters that were sorted in the target order as a longer string, wherein the target order is a sequential ordering among the sets of characters in the text of the language.
1. A method for determining a set of rules for ordering text of a language, said method comprising: receiving information that indicates a target order of sets of characters in text of a language; determining strengths of differences between the characters based on the target order; identifying strings of characters that were sorted in the target order as a shorter string of characters; identifying strings of characters that were sorted in the target order as a longer string of characters; and determining, using a processor, a set of rules for ordering text of the language based on the strengths of differences between the characters, the identified strings of characters that were sorted in the target order as a shorter string, and the identified strings of characters that were sorted in the target order as a longer string, wherein the target order is a sequential ordering among the sets of characters in the text of the language. 12. The method of claim 1 , wherein identifying the strings of characters that sort as longer strings of characters comprises: scanning through the target order to identify a last difference between a first character and a second character; determining where the first character sorts in relation the second character in combination with another character; and identifying the first character as a string of characters that sort as a longer string of characters based on where the first character sorted.