A patch from Pierre Smits https://issues.apache.org/jira/browse/OFBIZ-4466 "Chart of accounts isn't sorted properly" When adding a new GL account it always displayed as the last entry, even if it has a lower ID