sorting_intermediate