<html lang="pt-br" dir="ltr"><head></head><body>### [Reordering Survey Questions on the Print Survey Report Page](https://wpforms.com/developers/reordering-survey-questions-on-the-print-survey-report-page/)

**Published:** October 26, 2025
**Author:** Umair Majeed

**Content:**

When you view your Survey Results or Print Survey Report in WPForms, you may notice that the questions don’t always appear in the same order as they do in the form builder.

This happens because WPForms uses each field’s internal field ID to determine the order of questions in the report. If you added, removed, or rearranged fields during testing, the field IDs may no longer match the visual order of the questions in your form.

In this tutorial, we’ll show you how to reorder the survey questions by their question number using a simple PHP snippet.

## Adding the Code Snippet

Use the snippet below to reorder questions on the Print Survey Report page so that they follow the order shown in your form builder.

If you need help adding custom code, please see our tutorial on [adding code snippets](https://wpforms.com/developers/how-to-add-custom-php-or-javascript-for-wpforms/).

```

/**
 * Reorder WPForms Survey Questions on the Print Survey Report page.
 */
function wpforms_reorder_survey_print_report() {
    // Check if we're on the Print Survey Report page.
    if ( isset( $_GET['page'], $_GET['view'], $_GET['print'] ) &amp;&amp; 'wpforms-entries' === $_GET['page'] &amp;&amp; 'survey' === $_GET['view'] &amp;&amp; '1' === $_GET['print'] ) {
        ?&gt;

**Categories:** Tutorials, Addons

---

</body></html>