Update rangesort.cc, still fixing cases