I never ordered the config.sys , since in some cases the operation could be wrong .
If I advise you to check that you have no duplicate in Set variables, but only if you detect any failure.
The program BS Have a utility for sort in the air the config.sys , see
www.wdsibyl.org BS
Saludos