How a list becomes an order