The versions could be ranked by edit distance measured in words; ranking could also take into account the position of editing operationse.g., edits later in the sentence would result in a higher rank.
an even better way would be to prevent errors in the first place by supporting the author during editing.