Added config to change sort order.