Sorting

update sorting