How do I ensure custom post type information is displayed in correct order?

To achieve this, I used add_filter( 'the_content', 'myFunction' );

Then in my function, I echoed the_content() to display the content the user typed in and then echoed the other content I needed.

tech