Fix sorting of LiftRanges

To properly sort LiftRanges replace element entries with
&lt;element name="text">blah blah&lt;/element> with correct entry
&lt;text>blah blah&lt;/text>