Update rotated_sort.cc