我有以下Collection:CollectionagentDtoList=newArrayList();AgentSummaryDTO看起来像这样:publicclassAgentSummaryDTOimplementsSerializable{privateLongid;privateStringagentName;privateStringagentCode;privateStringstatus;privateDatecreatedDate;privateIntegercustomerCount;}现在我必须根据customerCount字段对集合agentDtoList进行排