fix(config) sorting of result codes