Get sortFunct by parameters