I've been surfing the net for hours now looking for a good example of reading and sorting data from a textfile.:pretty: But I can't find a good one that is working. :(Can somebody give me a simple example code of reading and sorting data from a textfile in ascending order plz? :icon_neutral: The textfile will just contain numbers and name just like this one
5 jose
2 juan
3 miguel
1 luis
4 manuel
and when read and sorted, it will be displayed like this
1 luis
2 juan
3 miguel
4 manuel
5 jose
Thanks in advance for someone who could help me. :icon_cheesygrin: