It would help if we could see the scripts used and the layout design you have set up.
Just changing the sort order should not change what records are present in your found set, so something odd is taking place when you sort the records into a different order.
You might also want to change from thinking about a "file" to thinking about "tables". What you describe is data that should be organized into two tables: A projects table with one record for each project and a tasks (to do list) table with one record for each task to be performed. The tables should be linked in a relationship so that the ProjectID in projects links that table to a projectID field in Tasks. Set up correctly, a portal on the projects layout can list all tasks associated with that project.
To post a script to the forum:
- You can upload a screen shot of your script by using the Upload an Image controls located just below Post a New Answer.
- You can print a script to a PDF, open the PDF and then select and copy the script as text from the opened PDF to your clipboard for pasting here. (with this approach, you can get multiple script steps on the same line, please edit the pasted text by inserting some returns to separate those steps.)
- If You have FileMaker Advanced, you can generate a database design report and copy the script as text from there.
- If you paste a text form of the script, you can use the Script Pretty box in the Known Bugs List database to paste a version that is single spaced and indented for a more professional and easier to read format.