This discussion is archived
1 Reply Latest reply: Feb 11, 2013 5:52 AM by Kayaman RSS

Sorted two items at same time

990378 Newbie
Currently Being Moderated
My program (one single program) is required to read in a list of student records from an input file studentList.txt and produces two output files
studentList-SID.txt, in this file the student records are ordered by student ID
I am not problem above this properties USING ARRAY SORT.

I don't know how to sort another item using same constructor.
studentList-ProgSID.txt, in this file the student records are ordered by programme code and student ID, i.e. students of ABCD are placed in front of EFGH students, and students in the two programmes are ordered by student ID.

Any one give some hints for me thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points