Use PyMongo sorting values
Use PyMongo sorting values

Rather than hardcoding 1 and -1 for sorting, using `ASCENDING` and
`DESCENDING` from PyMongo will allow the code to function the same
should MongoDB ever change the values used for sorting.

dirn/Simon,dirn/Simon