How can I use multiple sort conditions with lambdaj? e.g. to obtain a List ordered first by name, then by age:
- Name Age
- nameA 14
- nameB 12
- nameB 15
- nameC 10
- nameC 11
Thanks for you help.
How can I use multiple sort conditions with lambdaj? e.g. to obtain a List ordered first by name, then by age:
Thanks for you help.
Copyright © 2021 Jogjafile Inc.
Take a look into my answer for similar question: lambdaj and Multiple Sort Conditions in Java. In short - you need dig little bit into lambdaj source code, but solution is quite straightforward.