Stats.courses sorting is now case independent.