Description
When reviewing HBASE-4238 backporting, Jon found this issue.
What happens if the split points are (empty end key is the last key, empty start key is the first key)
Parent [A,)
L daughter [A,B),
R daughter [B,)
When sorted, we gets to end key comparision which results in this incorrector order:
[A,B), [A,), [B,)
we wanted:
[A,), [A,B), [B,)