=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/patientattribute/ShowPatientAttributeVisitScheduleFormAction.java' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/patientattribute/ShowPatientAttributeVisitScheduleFormAction.java 2013-06-05 04:17:53 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/java/org/hisp/dhis/patient/action/patientattribute/ShowPatientAttributeVisitScheduleFormAction.java 2013-06-06 08:16:24 +0000 @@ -34,7 +34,6 @@ import org.hisp.dhis.common.comparator.IdentifiableObjectNameComparator; import org.hisp.dhis.patient.PatientAttribute; import org.hisp.dhis.patient.PatientAttributeService; -import org.hisp.dhis.patient.comparator.PatientAttributeSortOrderComparator; import com.opensymphony.xwork2.Action; @@ -87,7 +86,7 @@ selectedPatientAttributes = new ArrayList( patientAttributeService.getPatientAttributesByDisplayOnVisitSchedule( true ) ); - Collections.sort( availablePatientAttributes, new PatientAttributeSortOrderComparator()); + Collections.sort( availablePatientAttributes, IdentifiableObjectNameComparator.INSTANCE ); return SUCCESS; }