Fatal error: Uncaught TypeError: array_multisort(): Argument #1 ($array) must be an array or a sort flag that has not already been specified in phar:///web/terminalfour/htdocs/media/sample-site/site-assets/php-search/search-source.phar/src/T4/PHPSearchLibrary/DocumentCollectionFactory/DocumentCollection.php:163
Stack trace:
#0 [internal function]: array_multisort(4, Array)
#1 phar:///web/terminalfour/htdocs/media/sample-site/site-assets/php-search/search-source.phar/src/T4/PHPSearchLibrary/DocumentCollectionFactory/DocumentCollection.php(163): call_user_func_array('array_multisort', Array)
#2 /web/terminalfour/htdocs/study/program-compare/config.php(85): T4\PHPSearchLibrary\DocumentCollectionFactory\DocumentCollection->sort('courseTitle', 4)
#3 /web/terminalfour/htdocs/study/program-search/config.php(18): include_once('/web/terminalfo...')
#4 /web/terminalfour/htdocs/study/program-search/digital-fashion/index.php(9): include_once('/web/terminalfo...')
#5 {main}
thrown in phar:///web/terminalfour/htdocs/media/sample-site/site-assets/php-search/search-source.phar/src/T4/PHPSearchLibrary/DocumentCollectionFactory/DocumentCollection.php on line 163