Added an order parameter to reverse sorting (instead of using a prefixed
'-' on the sort param.