while attempting to write a mock database management program. i can not figure out how to sort a .dat file with multiple data types. i can not find anything on the web on how to sort it. i tried loading the file into a string array[]; then sorting it afterwards. but my most recent code is: