Updtefd sorting order