SORTKEY - The Ability to Sort Items other than default NAME alphabetical
Revision as of 02:01, 14 April 2010 by LegacyKing (talk | contribs) (Protected "SORTKEY - The Ability to Sort Items other than default NAME alphabetical": Excessive spamming ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
New Tag - add a new text value - SORTKEY
SORTKEY:x
x = Text or Numerical Value
Sorts in the order of 0-9, A-Z
When sorting lists of objects, PCGen would use, SORTKEY, OUTPUTNAME or Name in that order to determine what to sort on and then it would order by the values, being a text field you can do whatever fancy grouping you like without pcgen having to interpret it.
- Example of Usage
- Enlarge Spell <> SORTKEY:Metamagic~Enlarge Spell
- Quicken Spell <> SORTKEY:11-MetaMagic~Quicken Spell
- Early Feat <> SORTKEY:Z-Me last
Would Display as
- Quicken Spell
- Enlarge Spell
- Early Feat
Order of Operation - SORTKEY, OUTPUTNAME, NAME