<p>Fired inside the <code>XF\Searcher\User</code> class in the <code>getDefaultOrderOptions()</code> method.</p>

<p>This allows you to add additional fields that users can be ordered by. This affects user searches in the control panel and member stats. If you are adding a string based sort order which may be used in member stats, it should be marked as string-based in the <code>$stringSortOrders</code> array.</p>

<p>Callback signature:</p>
<blockquote><code><em>\XF\Searcher\User</em> $userSearcher, <em>array</em> &amp;$sortOrders, <em>array</em> &amp;$stringSortOrders</code></blockquote>

<p>Arguments:</p>
<ol>
	<li><code><em>\XF\Searcher\User</em> $userSearcher</code> - User searcher object.</li>
	<li><code><em>array</em> &amp;$sortOrders</code> - Array of existing sort order fields.</li>
	<li><code><em>array</em> &amp;$stringSortOrders</code> - Array of existing string sort order fields.</li>
</ol>