When sorting desc should be done before slizing the result. Added new test to ensure functionality.
Merge branch 'Grokzen-master'

* Grokzen-master:
  When sorting desc should be done before slizing the result. Added new test to ensure functionality.