added support for sortOrd for relevance field