simplified calling sorting method