Add sorting to Studio's Files & Uploads page

Added sorting to the new pagination logic for STUD-995.

This is a rebased version of my original pull request: https://github.com/edx/edx-platform/pull/2066.

@cahrens @singingwolfboy Could you re-review please.