added an assert

If my sorting algorithm works how its supposed to, those two pointers
should never be null. (For this implementation.)