Add sorting to API

I know this may blow up for large-ish datasets, but we'll be rolling it out along with a simple proxy for read-only API access so that we can use PANDA to drive editorial projects with data in the 1k - 50k row range.