update simple_sorting