<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bamch0h</author_name>
  <author_url>https://blog.hatena.ne.jp/bamch0h/</author_url>
  <blog_title>bamchoh’s diary</blog_title>
  <blog_url>https://bamch0h.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>2019/4/17 追記 改良版書きました!! 自然順ソート(マルチバイト対応改良版 &amp; Windows エクスプローラー準拠) - bamch0h’s diary 前の記事 の最後に、ゼロパディングされた数値とそうでない数値が存在した場合に数値順に並んでくれないという問題があると書きました。今回はそれを解消したいと思います。 考え方としては単純で、文字列中の数値の部分を取り出して数値に変換したのちに大小比較をするだけです。もし数値が同じであれば桁数で比較して大小を決定します。 Goでの実装 今回もGoで実装しました。前回の記事から変更している部分は naturalSort0 の 数値かどうか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbamch0h.hatenablog.com%2Fentry%2F2019%2F04%2F16%2F080205&quot; title=&quot;自然順ソート別実装(Windows エクスプローラー準拠?) - bamchoh’s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-04-16 08:02:05</published>
  <title>自然順ソート別実装(Windows エクスプローラー準拠?)</title>
  <type>rich</type>
  <url>https://bamch0h.hatenablog.com/entry/2019/04/16/080205</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
