I have the following JSON file:
{"idAluno":1,"nomeAluno":"Teste","listaDeTurmas":[1,2,3,4]}
{"idAluno":4,"nomeAluno":"Teste","listaDeTurmas":[1,2,3,4]}
{"idAluno":3,"nomeAluno":"Teste","listaDeTurmas":[1,2,3,4]}
{"idAluno":5,"nomeAluno":"Teste","listaDeTurmas":[1,2,3,4]}
{"idAluno":2,"nomeAluno":"Teste","listaDeTurmas":[1,3,4]}
I'm using the Gson library in Java. Is it possible to sort these records incrementally in the file based on the "idAluno" field?