Modify a bug so as to be able to sort successfully.
Modify types.
Merge pull request #9 from klabnishimori/master

Modify bugs.