Forgotten Realms Wiki:Sorting the years

Ideally, the years should be in numerical order, but the categories are sorted in alphabetical order by default. For example, take the years 14 DR, 135 DR and 1270 DR. If these are placed in the same category with no sort key, they will be ordered as follows:
 * 1270 DR
 * 135 DR
 * 14 DR

This is due to the alphabetical sorting. It is possible to get around this to sort positive years, by assigning sort keys with leading zeros, like this:

This will ensure that all the years are placed in correct numerical order, but has the side effect that they are all categorized under "0".

The problem arises when dealing with negative numbers. Using the same process...

...the years are placed in the correct numerical order in the "-" category, but this is the reverse of the correct chronological order (-14 DR appears before -1270 DR). At the moment I have no suggested solution for this.

Proposal Addition

 * 1) I'd first like to propose that we use a space after the years so entries both before and after 1 DR appear together.
 * 2) I've been working on a system, while it is a bit of work to add to entries, that should give the correct chronological order of negative number years.


 * -2435 DR:

I dont have time to explain it now (when I get some time alter I will). But if you look at the patterns you can see why it should work. Johnnyriot999 21:58, 18 April 2007 (UTC)


 * That looks well confusing mate o_O Zerak talk 22:07, 18 April 2007 (UTC)

Another try
I've got another system that's ALOT simpler this time. It's based around the premise that the history will begin at -35000 DR (the Days of Thunder). For this system all you have to do is add or subtract the year from 35000; subtraction for years before 1 DR and addition for years after. For example:


 * -1081 DR:
 * -1076 DR:
 * -408 DR:
 * 1 DR:
 * 145 DR:

I dont think this system is overly complicated and will allow all the years to be placed in numerical order under one heading. I'm looking to implement this ASAP, if there are no objections. Johnnyriot999 21:11, 12 May 2007 (UTC)


 * That's simpler than falling off my chair. I'd like to second the proposal to use that system. As per the two week policy on proposals, we should probably leave it until 26th May to change this to policy, to give people the time to make alternate proposals or suggestions. Fw190a8 20:07, 17 May 2007 (UTC)


 * I'm still in favor of having one category for "negative" years and one for years after -1 DR Zerak talk 21:27, 17 May 2007 (UTC)


 * I dont want to seem curt, but may I ask why? Johnnyriot999 06:07, 18 May 2007 (UTC)
 * It just seems the simpler approach to me - I think new users will have a hard time figuring out how they need to calculate the year - And what if we get years before -3500? And lastly, when looking through the category, trying to find the year you're looking for will be counter-intuitive. KISS Zerak talk 19:34, 18 May 2007 (UTC)