create function sort by crawled value