<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Atable%2FsortedPairs</id>
	<title>Module:table/sortedPairs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Atable%2FsortedPairs"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:table/sortedPairs&amp;action=history"/>
	<updated>2026-04-06T02:15:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Module:table/sortedPairs&amp;diff=474927&amp;oldid=prev</id>
		<title>Sware: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:table/sortedPairs&amp;diff=474927&amp;oldid=prev"/>
		<updated>2025-11-04T17:47:20Z</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 17:47, 4 November 2025&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>Sware</name></author>
	</entry>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Module:table/sortedPairs&amp;diff=474926&amp;oldid=prev</id>
		<title>wikt&gt;Theknightwho: Protected &quot;Module:table/sortedPairs&quot;: Highly visible template/module ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:table/sortedPairs&amp;diff=474926&amp;oldid=prev"/>
		<updated>2025-04-24T20:18:42Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Module:table/sortedPairs&quot; title=&quot;Module:table/sortedPairs&quot;&gt;Module:table/sortedPairs&lt;/a&gt;&amp;quot;: Highly visible template/module ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local table_keys_to_list_module = &amp;quot;Module:table/keysToList&amp;quot;&lt;br /&gt;
&lt;br /&gt;
local function keys_to_list(...)&lt;br /&gt;
	keys_to_list = require(table_keys_to_list_module)&lt;br /&gt;
	return keys_to_list(...)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[==[&lt;br /&gt;
Iterates through a table, with the keys sorted using the keysToList function.&lt;br /&gt;
&lt;br /&gt;
If there are only numerical keys, `export.sparseIpairs` is probably faster.]==]&lt;br /&gt;
return function(t, key_sort)&lt;br /&gt;
	local list, i = keys_to_list(t, key_sort), 0&lt;br /&gt;
	return function()&lt;br /&gt;
		i = i + 1&lt;br /&gt;
		local k = list[i]&lt;br /&gt;
		if k ~= nil then&lt;br /&gt;
			return k, t[k]&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>wikt&gt;Theknightwho</name></author>
	</entry>
</feed>