Cfgsort implemented