Fix FE-MOD sorting