Fix bug in descending
Add unit test for comparators
Do not sort if no comparator given