Actually I just figured it out. I added the Task Number field as a column and then sorted by that column. Thank you so much Tim! You saved me so much time.
Yes, in the project plan I'm sorted by the Task number and it shows the parent-child task relationship. I'm not sure how to sort by task number in the report view.
This is awesome Tim! When I use the text mode the formatting works perfectly. Quick question: are you able to sort the tasks by the order in which they're displayed in the project plan? Right now the tasks have the correct formatting the the order appears random.