Add Sort Code.

Sort function.Style fix.
Remove Japanese comment.