About: PathfinderWiki:Sorting the years   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

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. It is possible to get around this to sort positive years, by assigning sort keys with leading zeros, like this: [[Category:Years|00014]] [[Category:Years|00135]] [[Category:Years|01270]]

AttributesValues
rdfs:label
  • PathfinderWiki:Sorting the years
rdfs:comment
  • 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. It is possible to get around this to sort positive years, by assigning sort keys with leading zeros, like this: [[Category:Years|00014]] [[Category:Years|00135]] [[Category:Years|01270]]
dcterms:subject
dbkwik:pathfinder/...iPageUsesTemplate
abstract
  • 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. It is possible to get around this to sort positive years, by assigning sort keys with leading zeros, like this: [[Category:Years|00014]] [[Category:Years|00135]] [[Category:Years|01270]] 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... [[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)..
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software