DOCS-1999 fix sort syntax