Title: orderby problem
Last modified: January 25, 2020

---

# orderby problem

 *  Resolved [rateiogratis](https://wordpress.org/support/users/rateiogratis/)
 * (@rateiogratis)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/orderby-problem/)
 * Problem:
 * by selecting the sorting options in Woocommerce -> Sort by Price (ASC), the system
   can not filter correctly and the results do not appear.
 * Try to do this link:
 * [https://rateiogratisbr.org/cursos/?orderby=price-desc](https://rateiogratisbr.org/cursos/?orderby=price-desc)
 * Woocommerce is not correctly processing the orderby filters.
 * It stopped working when I upgraded to version 3.6 of woocommerce, version 3.5
   worked perfectly.
 * Even doing in the admin area does not work, so it’s no problem related to the
   theme.
 * wp-admin/edit.php?post_type=product&orderby=price&order=asc
 * I’m waiting for an update to run again.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Forderby-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [rateiogratis](https://wordpress.org/support/users/rateiogratis/)
 * (@rateiogratis)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/orderby-problem/#post-11466294)
 * I disabled the other plugins and it still did not work.
 * I’ll show you inside the admin area.
    Click on products. All the products. /wp-
   admin/edit.php?post_type=product
 * Select to sort by price:
    /wp-admin/edit.php?post_type=product&orderby=price&
   order=asc
 * And it does not work.
    I have more than 3,000 products, and used to work with
   woocommerce 3.5.
 *  Plugin Support [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * (@slash1andy)
 * Automattic Happiness Engineer
 * [7 years, 1 month ago](https://wordpress.org/support/topic/orderby-problem/#post-11472488)
 * Hey there!
 * Were you able to test this using a default theme such as Storefront? That would
   make sure it’s not the theme, as that seems to be a likely culprit at this time.
 * Hopefully that helps! Have a great one!
 *  Thread Starter [rateiogratis](https://wordpress.org/support/users/rateiogratis/)
 * (@rateiogratis)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/orderby-problem/#post-11475159)
 * I tested with the Storefront theme and did not sort correctly by price, follow
   image:
 * > [View post on imgur.com](https://imgur.com/a/Fms8G52)
 * To replicate and test the error, do the following:
    Click on products. All the
   products. /wp-admin/edit.php?post_type=product
 * Select to sort by price:
    /wp-admin/edit.php?post_type=product&orderby=price&
   order=asc
 * In version 3.5.8, I clicked and sorted correctly, those that were priced 0,00
   would appear first and then I would order by price.
 * But now, version 3.6.2, I do not order anymore for the price.

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

The topic ‘orderby problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [order by](https://wordpress.org/support/topic-tag/order-by/)
 * [orderby](https://wordpress.org/support/topic-tag/orderby/)

 * 3 replies
 * 1 participant
 * Last reply from: [rateiogratis](https://wordpress.org/support/users/rateiogratis/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/orderby-problem/#post-11475159)
 * Status: resolved