fixed #308, sort the fork list before return it
Fixed #204, refactor method of calculate data fees
merge from upstream
Merge pull request #317 from HackFisher/master

Fixed 2 issues