Sunil Baby wrote:How do i do this?. Would appreciate some help here.
My suggestion would be to create a
Comparator that orders your objects by their concentration. That way you can then use
Collections.sort() to sort your List by concentration. After that, the selection/grouping process is up to you; but it should be pretty straightforward.
Winston