I really need help with Delphi... text files and arrays with sorting?
- by DTB
I have read a text file (of names) into an array and I need how to sort those names into alphabetical order and display that in a rich edit?
Please give me the code from this point onwards:
readln(myfile,arr[i]);
'myfile' is the text file and 'arr' is the array of string.
Also, I have declared 'i' as an integer even though it is a array of…