Title: Sort based on field value
Last modified: March 31, 2022

---

# Sort based on field value

 *  [brinster](https://wordpress.org/support/users/brinster/)
 * (@brinster)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/sort-based-on-field-value/)
 * I have a “company pages” field group and a template that displays all of the 
   companies in a grid. One of the fields in the group is INDUSTRY.
 * I now want to to be able to sort that “ALL COMPANIES page so it show only the
   companies in a particular industry.
 * I’d prefer using a dropdown on the page itself to select the industry — basically
   reload the page based on the selected industry. But another possibility is a 
   dropdown in the menu.
 * Also, is there a way to do by adding a parameter to the ALL COMPANIES url?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsort-based-on-field-value%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Sort based on field value’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [parameter](https://wordpress.org/support/topic-tag/parameter/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 0 replies
 * 1 participant
 * Last reply from: [brinster](https://wordpress.org/support/users/brinster/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/sort-based-on-field-value/)
 * Status: not resolved