Merged mark's PR: Added compartor parameter to QAController requests

Same content as #164, plus moving the one comment
Such that sorting can now be done on the getFavorites / getRecentItems results. 
closes #112.