modify the state show
modify the host info
modify the sort order
Merge pull request #464 from youyong205/master

refactor code