Fixed #65: _sortResultsIfApplicable:returnType: is not optimal

- Also fixed the documentation.