We are running Moodle 2.6.2 and I have the following in my config.php
$CFG->navsortmycoursessort = 'idnumber'
Questions is - how do I sort it DESC and not ASC? looks like Moodle always sort it ASC, also how to mirror that in the main body
Thanks.
You'll find everywhere:
<?php
$sortorder = 'visible DESC,'. $CFG->navsortmycoursessort.' ASC';
?>
My dirty solution:
$CFG->navsortmycoursessort = 'idnumber DESC, <other>'
The second field ( <other> ASC) put something usefull for you. Maybe name, category...