Revert "hack ranker sorting issue"

some temp file aslo be committed, need to be reverted

This reverts commit 0c8a0ab991138e29a9c01f576f7372566669729e.