バブルソート（改）

http://www40.atwiki.jp/spellbound/pages/159.html