Preserve the region order when flushing a RegionSet

Related to limetext/lime#341.
No, the old tests fail because they assume the regions will be sorted, which they aren't after this change.

Someone (maybe me) will need to confirm what ST3 does. I think it's wrong for it to reorder the regions, however. IMO, the regions should keep the order they were selected in.