Added raptor_sort_r and raptor_sequence_sort_r