So i am making a registration program for conferences and when the user registers for a conference or workshop they have the option to print a schedule of what they have signed up for but i cant figure out how to sort the conference or workshop text files by the participant type which would be like /member, /guest or /advisor i put the / so i could find the type in the text file. I do realize that is would be much easier if i did a database but the user wants txt file so this is an example of the one of the conference txt files:
Members registered for the Washington conference.
Name: +rose brown
Participant Type: /Member
Chapter Number: #pc
Conference Code: <1234
Conference Date: November 7
Guests registered for the Washington conference.
Name: +megan randall
Participant Type: /Guest
Chapter Number: #fl
Conference Code: <1234
Conference Date: November 8
Advisors registered for the Washington conference.
Name: +mike done
Participant Type: /Advisor
Chapter Number: #nm
Conference Code: <
Conference Date: November 7