MDL-32975 navigation: Added option to select how my courses are sorted
MDL-32975 navigation : fixed bug with my courses not being generated if JS disabled