Change order_by to sort on URL and variable names