fixing issues with sorting
Merge branch 'integration' of https://github.com/60frames/api-server into integration