<p></p>
<p dir="auto">The isn't sorting them, the issue is having to sort them into the order of the requested IDs - the SQL that is used (both before and now without the order) does not guarantee any particular order.</p>
<p dir="auto">I think possibly the <code class="notranslate">find</code> method did sort the returned rows into the order of the ids that were requested but it doesn't seem to be specified in the rails documentation so I didn't realise it was happening.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/commit/be96aa7cb42a2d43f84717a023f57f52b38cf6b7#commitcomment-125594513">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJT7QGCHTWXWGAIRRLXXIGENANCNFSM6AAAAAA37UNNSY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLP4KYHA7HMVTFGAWG3XXIGENA5CNFSM6AAAAAA37UNNS2WGG33NNVSW45C7OR4XAZNNINXW23LJORBW63LNMVXHJKTDN5WW2ZLOORPWSZGOA56GXEI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/commit/be96aa7cb42a2d43f84717a023f57f52b38cf6b7/125594513</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/commit/be96aa7cb42a2d43f84717a023f57f52b38cf6b7#commitcomment-125594513",
"url": "https://github.com/openstreetmap/openstreetmap-website/commit/be96aa7cb42a2d43f84717a023f57f52b38cf6b7#commitcomment-125594513",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>