Title: Sort Custom Fields
Last modified: August 4, 2017

---

# Sort Custom Fields

 *  Resolved [lizponce](https://wordpress.org/support/users/lizponce/)
 * (@lizponce)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sort-custom-fields-2/)
 * Is there a way to sort the custom fields on the front-end? Currently the core
   custom field `products` is below the two others I created and I want that swapped.
 * I tried to edit the `submission.php` file, however since they are all custom 
   fields, they belong to the same hook.

Viewing 1 replies (of 1 total)

 *  Plugin Author [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * (@awesomesupport)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sort-custom-fields-2/#post-9382290)
 * Hi:
 * According to the developers you’d have to sort the custom fields array itself.
   In their words: “You can do that by re-organizing the array of custom fields 
   by hooking late onto the custom fields filter.”

Viewing 1 replies (of 1 total)

The topic ‘Sort Custom Fields’ is closed to new replies.

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [awesomesupport](https://wordpress.org/support/users/awesomesupport/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/sort-custom-fields-2/#post-9382290)
 * Status: resolved