updated SOrtedFIle,not complete yet though