I am doing an Access Control System and I have an ArrayList
of User
objects that contains a user number and other things. Here is a printed example of the list:
1;258;Pedro Pereira
2;3579;Pedro Miguens;A DEMO para LIC está pronta
9;391;João Silvério;Bem Vindo Criador
6;1234;joao
4;391;Miguel Fernandes;Telefonar ao João Manuel
How do I sort the ArrayList
so that the userList
is ordered without having to write the full code?