to previous: do sort in controller rather than template. Fixes #1802
Merge branch 'excerpts' of github.com:databrary/databrary into excerpts