Should you create a custom index based on each character ASCII code? You
could use String#charCodeAt() to get each one's code and build a custom
index

Joel Wallis Jucá
joelwallis.com

Em 2 de set de 2017 12:40 PM, "Cliff Stanford" <[email protected]> escreveu:

> I have an interesting problem and I'm not sure how to solve it.
>
> I am using a language where the sort order for the alphabet is:
>
>     A B D E F G H I J K L M N O P R S Š Z Ž T U V Õ Ä Ö Ü
>
> I need to sort the keys for my views based on this order.  So:
>
> A a B b ... Ö ö Ü ü
>
> Is there any way to achieve this?
>
> Regards
> Cliff.
>
> --
> Cliff Stanford
> London:    +44 20 0222 1666               Swansea: +44 1792 469666
> Spain:     +34 603 777 666               Estonia: +372 5308 9666
> UK Mobile: +44 7973 616 666
>
>

Reply via email to