{"url":"https://satob.hatenablog.com/entry/2017/04/01/010609","description":"When you pass chars to Sort-Object, the chars sorted in ASCII order. PS > (0x7E..0x21 | ForEach-Object { [char]$_ } | Sort-Object) -join '' !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ But when you pass strings to Sort-Object, the strings are not sor\u2026","version":"1.0","author_url":"https://blog.hatena.ne.jp/satob/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsatob.hatenablog.com%2Fentry%2F2017%2F04%2F01%2F010609\" title=\"You can&#39;t sort strings in ASCII order - Lazy Diary @ Hatena Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","published":"2017-04-01 01:06:09","provider_name":"Hatena Blog","blog_title":"Lazy Diary @ Hatena Blog","provider_url":"https://hatena.blog","title":"You can't sort strings in ASCII order","image_url":null,"blog_url":"https://satob.hatenablog.com/","type":"rich","author_name":"satob","height":"190","categories":["PowerShell"]}