mapped sortBy option to sorting method