Fix sorting of LiftRanges

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