Fix sort order.