Preserve the region order when flushing a RegionSet

Related to limetext/lime#341.
Ah, didn't pay attention to the fact that the input was already in this order. Yes, I think you are indeed correct in making this change