# Re-Ordering Categories

**URL:** <https://meta.discourse.org/t/re-ordering-categories/73501>\
**Category:** UX\
**Created:** [Novembro 6, 2017, 11:03am UTC](https://meta.discourse.org/t/re-ordering-categories/73501 "2017-11-06T11:03:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)\
**Post date:** [Novembro 6, 2017, 11:03am UTC](https://meta.discourse.org/t/re-ordering-categories/73501/1 "2017-11-06T11:03:55Z")

</div>

Hi,

I have just gone through our 121 categories/sub-categories in an attempt to re-order them. It was challenging to say the least.

I decided to implement a numbering system which would separate the categories by thousands, e.g.

1000 - category one  
2000 - category two

with sub-categories numbered in multiples of ten in between, I figured this would allow me to re-order later on without having to re-order everything.

1000 - category one  
1010 - category one, sub-category one  
1020 - category one, sub-category two  
2000 - category two  
2010 - category two, sub-category one

I found that as I typed a number the box automatically jumped to its new position, but, because the cursor didn’t have focus, the model window didn’t automatically scroll down. Also, after the key press it assumed I was done, for example, if I was to try and type “300” after “30” the box would move, focus would be lost. In the end I used a text editor to type the numbers and then copy and paste them into each box. It took a while and was a bit of effort but eventually, I had removed all of the issues and everything was organised nicely.

The Re-Organise Categories model offered three buttons;

- Fix Positions
- Apply
- Save

Save was disabled, I applied the changes. Save was still disabled. The only way to actually change anything was to click “Fix Positions”, at this point, all of my carefully hand-crafted numbering reverted to a sequential flow of integers, I had lost all of the “spacing” I had injected.

Thankfully, all of the categories and sub-categories were at least in the order I wanted them in, but it wasn’t overly obviously that I couldn’t just number these however I wished. It also wasn’t overly obviously what the “Fix Positions” button was going to do, the hover text just suggested that I had some duplicate numbers, which I didn’t as I had checked them thoroughly.

The ability to have the numbers entered for positioning I think would be beneficial, especially for forums with large quantities of categories/sub-categories. In our specific case they represent courses and sections of courses, as such they will always be being added to and from time to time need some re-jiggling as we may want to move a course to be more prominent on the forum.

---

_[View the full topic](https://meta.discourse.org/t/re-ordering-categories/73501)._
