I have worked on the above mentioned question and so far it is working nicely. The trouble I am getting now is outputting the file to different files when being sorted out by name, id, and grade. I have created separate options that asks the user how s/he wants to view the file. The first option works fine, however, the other two options do not work (ie. the output files arent created just like option 1). I would very much appreciate the help if someone could highlight what im doing wrong and what can i do to fix it. This will also help me better understand simple things.. Thanks in advance