Order by desc support

Copied from qbs