a useful routine for sorting any db entity object in global openelis by it 's localized name . if it starts with a number , sort by that `` 2 '' comes after `` 1 '' , not after `` 10 '' . try not to do this too often , since your are looking at strings from the resource file , but if you need a list for a ui or a report in local alphabetical order , this is just the thing to do . concode_field_sep String nameKey concode_elem_sep Timestamp lastupdated concode_elem_sep long serialVersionUID concode_elem_sep String sysUserId concode_elem_sep Timestamp originalLastupdated concode_field_sep void setOriginalLastupdated concode_elem_sep int compare concode_elem_sep void setLastupdatedFields concode_elem_sep String getSysUserId concode_elem_sep String getDefaultLocalizedName concode_elem_sep String getNameKey concode_elem_sep void setNameKey concode_elem_sep String getLocalizedName concode_elem_sep Timestamp getOriginalLastupdated concode_elem_sep void resetOriginalLastupdated concode_elem_sep Object clone concode_elem_sep void setSysUserId concode_elem_sep void setLastupdated concode_elem_sep Timestamp getLastupdated
void function ( List < ? extends BaseObject > arg0 ) { Collections . sort ( arg0 , new ComparatorByLocalizedName ( ) ) ; }