Title: Ordering by multiple fields issue
Last modified: January 15, 2019

---

# Ordering by multiple fields issue

 *  Resolved [test3be](https://wordpress.org/support/users/test3be/)
 * (@test3be)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/ordering-by-multiple-fields-issue/)
 * Hi,
 * I’m trying to sort a custom post type by multiple fields.
 * I tried the following but it doesn’t work.
 * `[pods name="product" limit="-1" template="products" orderby="manufacturer.name
   ASC, title ASC"]`
 * “manufacturer” is a custom taxonomy i created with pods.
 * Anyone could help?
 * Thanks a lot
 * Benjamin

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [test3be](https://wordpress.org/support/users/test3be/)
 * (@test3be)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ordering-by-multiple-fields-issue/#post-11094402)
 * Any chance to get help on this? Thanks 🙂
 *  Thread Starter [test3be](https://wordpress.org/support/users/test3be/)
 * (@test3be)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ordering-by-multiple-fields-issue/#post-11100426)
 * Hey guys, I’m sorry to be asking again but I replay need a solution quickly to
   fix my issue. Anyone could help?
 * Thanks
 *  Plugin Contributor [Jim True](https://wordpress.org/support/users/jimtrue/)
 * (@jimtrue)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ordering-by-multiple-fields-issue/#post-11108471)
 * My apologies for just now responding to your question, but our [support policy](https://wordpress.org/support/topic/support-hours-policy-for-pods/)
   in the forums states that if you need faster assistance than what we do on the
   forums, to escalate to our Slack Chat at [https://pods.io/chat/](https://pods.io/chat/)
   in the #support channel.
 * The problem is you’re using `title` in the orderby; that’s not a valid value (
   which is what the SQL error you received reports, but might be hard to read),
   use `post_title` instead and it should work fine.
 * If you’re still having issues, please jump on our Slack for assistance.
 *  Plugin Contributor [Jim True](https://wordpress.org/support/users/jimtrue/)
 * (@jimtrue)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/ordering-by-multiple-fields-issue/#post-11126384)
 * We’re closing this one as we’ve provided a solution; if you are still experiencing
   this issue, please re-open this support ticket by replying or you are welcome
   to join us on our Slack Chat at [https://pods.io/chat/](https://pods.io/chat/)
   in the `#support` channel if you’re still experiencing issues.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Ordering by multiple fields issue’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jim True](https://wordpress.org/support/users/jimtrue/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/ordering-by-multiple-fields-issue/#post-11126384)
 * Status: resolved