You need to use an alternate collating sequence

a /: (7 u:alf) i.a

see J dictionary page.

Чт, 18 авг 2016, Gian Medri написал(а):
> Hi!
> 
> Sorting Swedish text is not correct.
> 
> The Swedish alphabet has 3 vocals after z.
> 
> 
> alf=: 'abcdefghijklmnopqrstuvwxyzåäö'
> 
> 
> a=: 7 u: 'qöghäwzxå'
> a /: a
> ghqwxzäåö
> 
> 
> The correct sorting should be:
> 
> ghqwxzåäö
> 
> 
> I wonder if there is a solution to this problem.
> 
> 
> Thanks
> 
> Gian Medri
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to