{"action":"created","issue":{"url":"https://api.github.com/repos/vim/vim/issues/685","repository_url":"https://api.github.com/repos/vim/vim","labels_url":"https://api.github.com/repos/vim/vim/issues/685/labels{/name}","comments_url":"https://api.github.com/repos/vim/vim/issues/685/comments","events_url":"https://api.github.com/repos/vim/vim/issues/685/events","html_url":"https://github.com/vim/vim/issues/685","id":140580807,"number":685,"title":":sort sorts Japanese wrong","user":{"login":"nielsk","id":111362,"avatar_url":"https://avatars.githubusercontent.com/u/111362?v=3","gravatar_id":"","url":"https://api.github.com/users/nielsk","html_url":"https://github.com/nielsk","followers_url":"https://api.github.com/users/nielsk/followers","following_url":"https://api.github.com/users/nielsk/following{/other_user}","gists_url":"https://api.github.com/users/nielsk/gists{/gist_id}","starred_url":"https://api.github.com/users/nielsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nielsk/subscriptions","organizations_url":"https://api.github.com/users/nielsk/orgs","repos_url":"https://api.github.com/users/nielsk/repos","events_url":"https://api.github.com/users/nielsk/events{/privacy}","received_events_url":"https://api.github.com/users/nielsk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-14T05:35:17Z","updated_at":"2016-03-14T06:59:38Z","closed_at":null,"body":"I have this list after :sort \r\n\r\n作花文雄:著作権法\r\n夏目漱石: こころ（前編）\r\n岩本さゆみ:新·マネー敗戦 \r\n日本の論点2008\r\n日本の論点2009\r\n高見広春: Battle Royale\r\n\r\nBut it should be (Gojūon):\r\n岩本さゆみ:新·マネー敗戦 \r\n作花文雄:著作権法\r\n高見広春: Battle Royale\r\n夏目漱石: こころ（前編）\r\n日本の論点2008\r\n日本の論点2009\r\n\r\nOr (alphabet):\r\n岩本さゆみ:新·マネー敗戦 \r\n高見広春: Battle Royale\r\n夏目漱石: こころ（前編）\r\n日本の論点2008\r\n日本の論点2009\r\n作花文雄:著作権法\r\n\r\nvim-version: 7.4.1556 on Linux (Fedora 23; vim installed via copr)"},"comment":{"url":"https://api.github.com/repos/vim/vim/issues/comments/196173541","html_url":"https://github.com/vim/vim/issues/685#issuecomment-196173541","issue_url":"https://api.github.com/repos/vim/vim/issues/685","id":196173541,"user":{"login":"e-kwsm","id":11627708,"avatar_url":"https://avatars.githubusercontent.com/u/11627708?v=3","gravatar_id":"","url":"https://api.github.com/users/e-kwsm","html_url":"https://github.com/e-kwsm","followers_url":"https://api.github.com/users/e-kwsm/followers","following_url":"https://api.github.com/users/e-kwsm/following{/other_user}","gists_url":"https://api.github.com/users/e-kwsm/gists{/gist_id}","starred_url":"https://api.github.com/users/e-kwsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-kwsm/subscriptions","organizations_url":"https://api.github.com/users/e-kwsm/orgs","repos_url":"https://api.github.com/users/e-kwsm/repos","events_url":"https://api.github.com/users/e-kwsm/events{/privacy}","received_events_url":"https://api.github.com/users/e-kwsm/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T06:59:38Z","updated_at":"2016-03-14T06:59:38Z","body":"@nielsk vim doesn't know their pronunciation.\r\nBut vim cannot sort even hiragana (ひらがな) and katakana (カタカナ) correctly!\r\n\r\nThe correct order is\r\nカン\r\nさつき\r\nさっき\r\nさつきばれ\r\nさっきばれ\r\nしや\r\nしゃ\r\nしやく\r\nしゃく\r\nbut vim (7.4.576 on Debian) sort like\r\nさっき\r\nさっきばれ\r\nさつき\r\nさつきばれ\r\nしゃ\r\nしゃく\r\nしや\r\nしやく\r\nカン\r\n\r\nThe problems are:\r\n* Yōon (拗音; \"ゃ\") and sokuon (促音; \"っ\") have higher priority than usual characters (\"や\" and \"つ\")\r\n* Hiragana has higher priority than katakana, regardless of pronunciation"}}