add auto sort for format
Merge pull request #1 from sailxjx/master

add auto sort for format