after you’ve sorted the director list….
just take one director as an key value in outer loop and then start comparing each and every movie name in inner loop…
How can I sort a List alphabetically?
this would be helpful…
do some searching next time….it is easy to find such solutions… 🙂 😉
3
solved sorting arraylist object by two values [duplicate]