DOCS-2760 array sort order