Renamed test_sortindex to test_sort3