<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mzp</author_name>
  <author_url>https://blog.hatena.ne.jp/mzp/</author_url>
  <blog_title>みずぴー日記</blog_title>
  <blog_url>https://mzp.hatenadiary.org/</blog_url>
  <categories>
    <anon>Scala</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その790。AAがZのあとにでてくるExcel順ソートを書いてみました。 Excelの列ラベルはZのあとにAAがでてくるから、辞書順ソートじゃうまくいかないよねー、というお話。[twitter:@ueda51]さんのつぶやきにインスパイアされた気がするけれど、あらためて探したらみつからなった。 使い方 scala&gt; List(&quot;a&quot;,&quot;b&quot;,&quot;aa&quot;,&quot;zz&quot;,&quot;c&quot;).sort(excelCompare(_,_)) res17: List[java.lang.String] = List(a, b, c, aa, zz) ソースコード def excelCompare(x …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20100802%2Fexcel&quot; title=&quot;Excel順ソート - みずぴー日記&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>2010-08-02 00:00:01</published>
  <title>Excel順ソート</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20100802/excel</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
