[[ Bug 13461 ]] Ensure that sorting the lines of a field preserve their ...

...properties