Title: Sub-Category does not sorting properly
Last modified: June 17, 2020

---

# Sub-Category does not sorting properly

 *  [lankyfung](https://wordpress.org/support/users/lankyfung/)
 * (@lankyfung)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/sub-category-does-not-sorting-properly/)
 * The sub-category is not sorting as expected, it should be sorted the parent category
   first, then sort the sub-category in ascending order. However, it is now sorting
   parent category correctly, but not in sub-category.
 * please help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsub-category-does-not-sorting-properly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [lankyfung](https://wordpress.org/support/users/lankyfung/)
 * (@lankyfung)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/sub-category-does-not-sorting-properly/#post-13001278)
 * Let me supplement more.
    Now the filter sorting sequence for parent categories
   and sub-categories on my website are like this… A B –B –C –D C D –D –E –F –G –
   A –B E F
 *  Plugin Author [RazyRx](https://wordpress.org/support/users/razyrx/)
 * (@razyrx)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/sub-category-does-not-sorting-properly/#post-13002264)
 * Hello [@lankyfung](https://wordpress.org/support/users/lankyfung/),
 * It seems issue with current version of plugin. We have some fixes for next plugin
   release.
 * Regards,
    Oleg
 *  Thread Starter [lankyfung](https://wordpress.org/support/users/lankyfung/)
 * (@lankyfung)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/sub-category-does-not-sorting-properly/#post-13002582)
 * hi [@razyrx](https://wordpress.org/support/users/razyrx/) ,
 * thanks for reply. look forward to the new update.
 *  Thread Starter [lankyfung](https://wordpress.org/support/users/lankyfung/)
 * (@lankyfung)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/sub-category-does-not-sorting-properly/#post-13002584)
 * resolved
 *  Thread Starter [lankyfung](https://wordpress.org/support/users/lankyfung/)
 * (@lankyfung)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/sub-category-does-not-sorting-properly/#post-13048731)
 * [@razyrx](https://wordpress.org/support/users/razyrx/)
    Sorry, I just updated
   to 1.5.0.2 However, the sorting problem still persisting….

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

The topic ‘Sub-Category does not sorting properly’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-ajax-filters/assets/icon-256x256.gif?rev=2770304)
 * [Advanced AJAX Product Filters](https://wordpress.org/plugins/woocommerce-ajax-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-ajax-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-ajax-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-ajax-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-ajax-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-ajax-filters/reviews/)

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [sorting](https://wordpress.org/support/topic-tag/sorting/)

 * 5 replies
 * 2 participants
 * Last reply from: [lankyfung](https://wordpress.org/support/users/lankyfung/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/sub-category-does-not-sorting-properly/#post-13048731)
 * Status: not resolved