fixed sorting issue on 'recently uploaded'

I also got rid of a few deprecation warnings.

PSU bug: https://scm.dlt.psu.edu/issues/9463