Title: changing category order
Last modified: August 30, 2016

---

# changing category order

 *  Resolved [steve2934u0236ut](https://wordpress.org/support/users/steve2934u0236ut/)
 * (@steve2934u0236ut)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/changing-category-order/)
 * I’m having a few problems adding price range to search for services. Initially
   I added £10,000-£20,000, £20,000-£30,000 in a select box but the commas gave 
   problems. So I added price ranges as categories but now I have a problem with
   the category order in the widget search e.g.
 * £1,000,000 – £2,000,000
    £100,000 – £200,000 £2,000,000 £200,000 – £300,000
 * Obviously I want to display lowest to highest first.
 * Any ideas? Thanks.
 * [https://wordpress.org/plugins/business-directory-plugin/](https://wordpress.org/plugins/business-directory-plugin/)

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

 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/changing-category-order/#post-6283230)
 * Hi Steve,
 * Currently, we don’t have a way to sort the categories using a custom order that
   forces the order you want. The reason it sorts that above has to do with how 
   the database handles string comparisons (even though those are numbers, the whole
   thing is treated like a string…which is why things like 100 will show before 
   1 in a list)
 * We do have this on the list of items to add in the future, but it’s not there
   today.
 * One way you can force the ordering is to put a number or letter at the very front
   like this:
 * a) £100,000 – £200,000
    b) £1,000,000 – £2,000,000
 * It’s not ideal, but it’s the quickest hack I have available for you at the moment.
 *  Thread Starter [steve2934u0236ut](https://wordpress.org/support/users/steve2934u0236ut/)
 * (@steve2934u0236ut)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/changing-category-order/#post-6283239)
 * it’s a good idea but not sure it’s suitable for my project.
 * but thanks for the quick support.
 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/changing-category-order/#post-6283274)
 * Understood. Please let me know if you have any other questions or issues!
 *  Thread Starter [steve2934u0236ut](https://wordpress.org/support/users/steve2934u0236ut/)
 * (@steve2934u0236ut)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/changing-category-order/#post-6283395)
 * this solves the issue [https://wordpress.org/plugins/taxonomy-terms-order/](https://wordpress.org/plugins/taxonomy-terms-order/)
 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/changing-category-order/#post-6283396)
 * Thanks for the quick tip, Steve!

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

The topic ‘changing category order’ is closed to new replies.

 * ![](https://ps.w.org/business-directory-plugin/assets/icon-256x256.png?rev=2901888)
 * [Business Directory Plugin - Easy Listing Directories for WordPress](https://wordpress.org/plugins/business-directory-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/business-directory-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/business-directory-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/business-directory-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/business-directory-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/business-directory-plugin/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/changing-category-order/#post-6283396)
 * Status: resolved