Exception Caught

    Details: Sort cannot be called on an empty result set. Exception was thrown on line 2246

    Stack Trace
    #0 /efs/www.uhi.ac.uk/htdocs/gd/cursaichean/index.php(331): DocumentCollection->sort('course-name', 4)
    #1 {main}