Add warning when merging causes coordinate sort to be lost