Make last a courteous citizen

Since last is flipping the sort order, have it restore it before it
returns to be courteous.