Is there a way to force the contacts list to sort differently than alphabetical? Perhaps by extension number? I really only care for one or two extensions to always appear at the top of the list, but don’t want to place “AA_”, “AB_”, etc. in front of them.
See below:
<phonebooks>
<contacts group_name="xxx" editable="0" id="0">
<contact
server_uuid="b6cb3377-28a7-4661-84d0-925b9f3706c4"
id="frontdesk"
first_name="AA_Front"
last_name="Desk"
contact_type="sip"
organization="xxx"
account_id="frontdesk"
subscribe_to="auto_hint_frontdesk"
>
<emails>
<email address="xxx" label="Work" primary="1" />
</emails>
<actions>
<action id="primary" dial="200" label="Call Front Desk" name="Front Desk" />
</actions>
</contact>
<contact
server_uuid="b6cb3377-28a7-4661-84d0-925b9f3706c4"
id="markham"
first_name="Markham"
last_name="Suite"
contact_type="sip"
organization="xxx"
account_id="markham"
subscribe_to="auto_hint_markham"
>
<emails>
<email address="xxx" label="Work" primary="1" />
</emails>
<actions>
<action id="primary" dial="305" label="Call Markham" name="Markham Suite" />
</actions>
</contact>
<contact
server_uuid="b6cb3377-28a7-4661-84d0-925b9f3706c4"
id="lathrop"
first_name="Lathrop"
last_name="Suite"
contact_type="sip"
organization="xxx"
account_id="lathrop"
subscribe_to="auto_hint_lathrop"
>
<emails>
<email address="xxx" label="Work" primary="1" />
</emails>
<actions>
<action id="primary" dial="306" label="Call Lathrop" name="Lathrop Suite" />
</actions>
</contact>
<contact
server_uuid="b6cb3377-28a7-4661-84d0-925b9f3706c4"
id="austin"
first_name="Austin"
last_name="Suite"
contact_type="sip"
organization="xxx"
account_id="austin"
subscribe_to="auto_hint_austin"
>
<emails>
<email address="xxx" label="Work" primary="1" />
</emails>
<actions>
<action id="primary" dial="307" label="Call Austin" name="Austin Suite" />
</actions>
</contact>
</contacts>
</phonebooks>
On this contacts list, I want the Front Desk to always appear at the top of the list. I don’t really care what order the rest are in (alpha, numeric, whatever). In the real use, there are 4 extensions I want at the top (sorted 1,2,3,4) followed by the rest that can be sorted however.
I tried is to insert a non-printing ascii character (using both NUL & STX), but that didn’t work either. NUL sorted to the end of the list, and STX seemed to be ignored.