Thank you for replying Helen, I feel that I may have misinterpreted the nature of the setting in relation to being a PHP global attribute that is actually implemented as a UI setting.
Moodle community sites
$CFG->navsortmycoursessort missing in documentation
This discussion has been locked so you can no longer reply to it.