I'm guessing this is your database task? Since this is ITA, you won't have to create the software to produce the text file, just the underlying relational database for some imaginary software. Start with writing out what tables and fields you need. From there you can work out relationships, etc.
It's pretty interesting that you're teacher's sacs are pretty ambiguous.
EDIT: Wait, this is a software development task. Can't really help you out but I can take a guess. Might be completely wrong.
Well I guess your software would be something like:
1. Open the text file
2. Read the file, line by line probably.
I would be thinking something like a while loop, where it takes in the data line by line and then puts into some kind of array/list. (or an object oriented structure)
3. It should be fairly simple to sort the array by the reorder level now.
4. Now maybe another loop to output the contents of the array into the new textfile.
I probably didn't help much.