<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.brunswickmdhistory.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ASort%2Fdoc</id>
	<title>Template:Sort/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.brunswickmdhistory.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ASort%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.brunswickmdhistory.com/index.php?title=Template:Sort/doc&amp;action=history"/>
	<updated>2026-06-04T12:46:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.brunswickmdhistory.com/index.php?title=Template:Sort/doc&amp;diff=1617&amp;oldid=prev</id>
		<title>Dhuscha: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.brunswickmdhistory.com/index.php?title=Template:Sort/doc&amp;diff=1617&amp;oldid=prev"/>
		<updated>2018-02-02T06:01:23Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:01, 2 February 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Dhuscha</name></author>
	</entry>
	<entry>
		<id>https://www.brunswickmdhistory.com/index.php?title=Template:Sort/doc&amp;diff=1616&amp;oldid=prev</id>
		<title>203.111.197.204: sort method deprecated</title>
		<link rel="alternate" type="text/html" href="https://www.brunswickmdhistory.com/index.php?title=Template:Sort/doc&amp;diff=1616&amp;oldid=prev"/>
		<updated>2017-05-25T21:58:57Z</updated>

		<summary type="html">&lt;p&gt;sort method deprecated&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
{{Ombox|type=content|text=This template is &amp;#039;&amp;#039;&amp;#039;deprecated&amp;#039;&amp;#039;&amp;#039;. Table sort keys should now be defined using the &amp;lt;code&amp;gt;data-sort-value&amp;lt;/code&amp;gt; attribute, like so: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;| data-sort-value=&amp;quot;Doe, John&amp;quot; | John Doe&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. Please see {{Section link|WP:SORT|Specifying a sort key for a cell}} for details.}}&lt;br /&gt;
&lt;br /&gt;
This template is for manually adjusting sorting order in sortable tables by specified sortkeys.&lt;br /&gt;
&lt;br /&gt;
;Usage:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;sort | 1 = {{{sort value}}} | 2 = {{{displayed value}}} }}&amp;lt;/code&amp;gt; → {{sort | 1 = {{{sort value}}} | 2 = {{{displayed value}}} }}&lt;br /&gt;
The first parameter is the sortkey; the second parameter is the wikitext of what has to be displayed. By default, this is the sortkey with link brackets:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;sort | 1 = {{{displayed value}}} }}&amp;lt;/code&amp;gt; → {{sort | 1 = {{{displayed value}}} }}&lt;br /&gt;
A table using this template should use it in all rows.&lt;br /&gt;
&lt;br /&gt;
This template works by placing a hidden sortkey before the visible text. The hiding of the sortkey is achieved through [[Help:Cascading style sheets#Non-display|CSS]]: &amp;lt;nowiki&amp;gt;&amp;lt;span style=&amp;quot;display:none&amp;quot; class=&amp;quot;sortkey&amp;quot;&amp;gt;hidden text&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;. The CSS class allows custom sort scripts to parse and get the sort key, and remove it from the DOM if needed (for some accessibility tools).&lt;br /&gt;
&lt;br /&gt;
=====Example=====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
|{{sort|Brothers Karamazov|[[The Brothers Karamazov]]}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Sorting by numerical value, date, etc.&lt;br /&gt;
See [[Help:Sorting#Numerical sorting problems]] and [[meta:Help:Sorting#Sort modes]]&lt;br /&gt;
&lt;br /&gt;
;Equal rank&lt;br /&gt;
If you simply code as the second parameter an indicator that two items are equally ranked, e.g. &amp;quot;4=&amp;quot;, the template interpreter will treat this as an additional parameter (i.e. parameter 4, which it will then not use). You must explicitly code this as parameter 2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{sort|4|2=4=}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tiw|Sortname}}—for using names in sortable tables (using &amp;quot;last name, first name&amp;quot; as default sort key)&lt;br /&gt;
* {{tiw|dts}}—for using dates in sortable tables&lt;br /&gt;
* {{tiw|nts}}—for using alphabetic sort mode for numbers in sortable tables&lt;br /&gt;
* {{tiw|hs}}—for providing a hidden sort value for cells in a table&lt;br /&gt;
* [[Help:Sorting]]&lt;br /&gt;
* [[meta:Help:Sorting]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
[[Category:Sorting templates|{{PAGENAME}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>203.111.197.204</name></author>
	</entry>
</feed>