use thread for read and write.
add read and sort to constracto.
remove read & sort method of code.
remove read & sort method of code.