<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takehikom</author_name>
  <author_url>https://blog.hatena.ne.jp/takehikom/</author_url>
  <blog_title>わさっきhb</blog_title>
  <blog_url>https://takehikom.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>やっぱりたまにはプログラミングの問題です． 定型文字列の配列を並べ替えるメソッドを作ってください． 各文字列は，&quot;20080521-1&quot; のように，8桁の整数，ハイフン，1桁の整数で構成されます(作るメソッドの中で，入力の正しさチェックはしないものとします)． 並べ替えの基準は，ハイフンの左に関しては降順，右に関しては昇順とします．8桁の整数を日付とみれば，日付は新しいものから古いものへ，同一日付の通し番号は小さいものから大きいものへ，ソートするということです． 例えば，[&quot;20080514-1&quot;, &quot;20080521-2&quot;, &quot;20080521-3&quot;, &quot;20080521-1&quot;] という配列…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakehikom.hateblo.jp%2Fentry%2F20080720%2F1216501692&quot; title=&quot; 降順と昇順を組み合わせたソート - わさっきhb&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>2008-07-20 06:08:12</published>
  <title> 降順と昇順を組み合わせたソート</title>
  <type>rich</type>
  <url>https://takehikom.hateblo.jp/entry/20080720/1216501692</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
