Sort courses active first