Sort selections after Selection.move, maintain primary selection when merging