sorting method added
first commit