<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Zdeněk,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">
Thanks for responding promptly and offering to help.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">The Urdu letters, in their sorting order, are as follows:<br><font size="4"><br>آ ا ب پ ت ٹ ث ج چ ح خ د ڈ ذ ر ڑ ز ژ س ش

 <br><br>ص ض ط ظ ع غ ف ق ک گ ل م ن ں و ہ ھ ء ی ے<br></font><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">As you mentioned the following letters never start a word:<br><br><font size="4">ھ ء ے <br></font><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">And  
<font size="4">ں

  </font>occurs only at the end of a word. (Urdu is working hard to create more challenges for its learners -:) ). But all the letters need to be included in the sorting order.<br><br></div>T<div style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline" class="gmail_default">​hanks in advance,<br><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline" class="gmail_default">Kamal Abdali<br>​</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 13, 2018 at 7:30 PM, Zdenek Wagner <span dir="ltr"><<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I do not know how to do it in imakeindex but I could do it in xindy. I have an Urdu-Hindi dictionary so I can find the sort oder of most characters but I do not know where to put bari yeh (ے), dochashmee he (ھ) and maybe a few more characters that never appear at the beginning of the word. This is not too much work, if you give me the correct order of all characters (including alif maqsura which appears in words like موسی), I can make it (but it may take a few days, I am currently quite busy).<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="m_999639442854701730gmail_signature" data-smartmail="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/<wbr>wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote"><span class="">2018-05-14 1:04 GMT+02:00 Kamal Abdali <span dir="ltr"><<a href="mailto:k.abdali@acm.org" target="_blank">k.abdali@acm.org</a>></span>:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I'm using polyglossia and imakeindex to produce an Urdu document. The sorting order of letters in the index is wrong. The order is according to Arabic, but Urdu has about 9 more letters which are being pushed after the Arabic letters in the index. I couldn't find an option to fix this in the imakeindex style file. It probably should be specified in polyglossia but I don't see a way there either. Any suggestions please?</div><span class="m_999639442854701730HOEnZb"><font color="#888888"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Kamal Abdali<br></div></font></span></div>
<br><br>
<br></span>
------------------------------<wbr>--------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/listinf<wbr>o/xetex</a><br>
<br></blockquote></div><br></div>
<br><br>
<br>
------------------------------<wbr>--------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/<wbr>listinfo/xetex</a><br>
<br></blockquote></div><br></div>