Comparison function - Electromechanical courses