Blake Erickson 0e6cb752da Clean up valid order names
Add a sortable mappings list to match other endpoints and so that you
don't have to use database column names.

Example: 'created' => 'created_at'

Also cleaned up some of the logic since a lot of it got moved into the
SORTABLE_MAPPING hash.
2017-02-25 11:51:40 -07:00
..
2017-02-25 11:51:40 -07:00
2017-02-24 11:35:33 +01:00
2016-06-10 11:32:32 -04:00