update list to ordered