bug fixed for exception sorter
Merge pull request #318 from wenshao/master

bug fixed for exception sorter