Add option to reverse order.