using method in package sort