This article is protected from editing.

PathfinderWiki:Sorting the years

From PathfinderWiki
PathfinderWiki policy logo

This page is an official policy on the PathfinderWiki.
It has wide acceptance among editors and is considered a standard that all users should follow.

In accordance with policy, this page has been protected. You can suggest changes by following the revision procedure or discussing it on the talk page.

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

  • 1270 AR
  • 135 AR
  • 14 AR

This is due to the alphabetical sorting. To sort positive years, assign sort keys with leading zeros, like this:

[[Category:Years|00014]]
[[Category:Years|00135]]
[[Category:Years|01270]]

This ensures 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...

[[Category:Years|-00014]]
[[Category:Years|-00135]]
[[Category:Years|-01270]]

...the years are placed in the correct numerical order in the "-" category, but this is the reverse of the correct chronological order (-14 AR appears before -1270 AR)..

Sorting solution

This system is based around the premise that the Pathfinder campaign setting history begins at -20000 AR (a significant number of years before Earthfall and the start of recorded history). Think of it as a kelvin scale for absolute years. For this system all you have to do is add or subtract the year from 20000; subtraction for years before 1 AR and addition for years after. For example:

-1081 AR
(20000 - 1081) – [[Category:Years| 18919]]
-1076 AR
(20000 - 1076) – [[Category:Years| 18924]]
-408 AR
(20000 - 408) – [[Category:Years| 19592]]
1 AR
(20000 + 1) – [[Category:Years| 20001]]
145 AR
(20000 + 145) – [[Category:Years| 20145]]