make in-place op optional for rthsort