getSort was renamed to getSorts in search api