24

I recently came across a question where a couple of edits had been made, including some to the tags. In particular, the order of the and tags had been reversed:

enter image description here

Out of curiosity, does changing the order make any difference? Should a particular format be followed when tagging (most popular DESC/alphabetical/etc)?

If not, why was the order changed for this question?

2

1 Answer 1

34

No, order doesn't matter. The tags are sorted, after every edit, by their current popularity (number of posts with the tag).

Because they are sorted every time you edit the order can change over time as tags grow in popularity at different rates.

It may be that tags were not sorted early on in the site's history, thus making it slightly more likely tags shift when edited today.

6
  • 1
    Ah, so when adding in a new tag, the old ones got auto-sorted. That sound right?
    – cs95
    Commented Aug 29, 2017 at 17:31
  • 1
    @cᴏʟᴅsᴘᴇᴇᴅ: exacly right. Commented Aug 29, 2017 at 17:32
  • 3
    Imo, this rule is not always very relevant. As an exemple, a lot of questions about angularjs are also tagged javascript. As javascript is more popular than angularjs, it is shown first (in search engine it is displays as javascript - Question title) even when the question is mostly about AngularJS. Anyway, I don't know how it could be improved ;D
    – Mistalis
    Commented Aug 30, 2017 at 9:35
  • @MartijnPieters how does this affect syntax highlighting for questions tagged with multiple language tags? Commented Aug 30, 2017 at 9:47
  • 1
    @NickA then none are used and it's set to 'default'. See meta.stackexchange.com/questions/184108/… Commented Aug 30, 2017 at 10:00
  • Sadly it doesn't - because I just realized this while always having tagged my questions in order of importance. Commented Nov 26, 2023 at 15:27

Not the answer you're looking for? Browse other questions tagged .