modify search result(sort the result by filename,paragraphnumber)