update sorting front