Sort problems in language track order. Fixes #2098