add exection sorter test
Merge pull request #325 from wenshao/master

bug fixed for exception sorter