Hmmm… AFAIK this order is not "wrong", it is merely based on Unicode
codepoint value. When doing ga on the first character of each line in
your first example, they are in increasing Unicode sequence, except
lines 4 and 5 which differ only in their last character.

See the following remark near the end of ":help :sort":

<quote>
The details about sorting depend on the library function used.  There is no
guarantee that sorting obeys the current locale.  You will have to try it out.
Vim does do a "stable" sort.
</quote>

However, when I use the external "sort" filter with $LC_COLLATE set to
ja_JP.utf8, I get a different sequence, namely

夏目漱石: こころ(前編)
岩本さゆみ:新·マネー敗戦
高見広春: Battle Royale
作花文雄:著作権法
日本の論点2008
日本の論点2009

which is neither of those you mention. Is this one meaningful for you?
I don't know what Japanese sorting "ought" to give for an arbitrary
sequence of mixed kanji and kana.

Best regards,
Tony.

On Mon, Mar 14, 2016 at 6:35 AM, Niels Kobschätzki
<[email protected]> wrote:
> I have this list after :sort
>
> 作花文雄:著作権法
> 夏目漱石: こころ(前編)
> 岩本さゆみ:新·マネー敗戦
> 日本の論点2008
> 日本の論点2009
> 高見広春: Battle Royale
>
> But it should be (Gojūon):
> 岩本さゆみ:新·マネー敗戦
> 作花文雄:著作権法
> 高見広春: Battle Royale
> 夏目漱石: こころ(前編)
> 日本の論点2008
> 日本の論点2009
>
> Or (alphabet):
> 岩本さゆみ:新·マネー敗戦
> 高見広春: Battle Royale
> 夏目漱石: こころ(前編)
> 日本の論点2008
> 日本の論点2009
> 作花文雄:著作権法
>
> vim-version: 7.4.1556 on Linux (Fedora 23; vim installed via copr)
>
> —
> Reply to this email directly or view it on GitHub.
>
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui