I have a file that has 50000 entries/records. Each line is a number. I would like to apply a sort algorithm to this file. Basically java program will read the file and sort it using selection sort algorithm.
should I be reading the file into an array? what other data structure can I use ???