Yaya
0
Q:

sort a collection based on one value java

 Collections.sort(agentDtoList, (o1, o2) -> o1.getCustomerCount() - o2.getCustomerCount());
0

New to Communities?

Join the community