Property:Tech level sort order

Property type: has type::Number

Location
Tool, Workspace, and Weapon pages, as well as other item pages.

Usage
Use this to sort auto-updating lists of weapons, tools, workspaces, foods, and so on.

Reason: If you sort a query on the names of tech levels, items will sort alphabetically (Bronze Age before Scavenging). Use this to sort the items in the order that the tech is available (Bronze Age after Scavenging). It is based on Property:Sort order for each of the technology pages.

It is best not to set this number manually: if the technology levels need to be rearranged, setting it manually means that the page's technology name and level number won't match. Instead, set this property based on the page's technology name. (See .)

Semantic assumptions

 * Tool pages: this sort order is based on Property:Is tool of level
 * Weapon pages: this sort order is based on Property:Is weapon of level
 * Workspace pages: this sort order is based on Property:Is workspace of level
 * other item pages: this sort order is based on Property:Requires tech level

Example
It is easiest to set both a technology name and sort order at the same time if you use a variable for the object's technology. Use that variable to determine the sort order from that technology's page.