List sort and resort