Hi Lee, You can create a field of the three elements, and reference the field in sort-order. See also the documentation:
http://docs.marklogic.com/search:search#opt-sort-order Kind regards, Geert From: bin ll <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Tuesday, February 24, 2015 at 10:33 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] Sort-Order query Hi, how do i do a sorting on below 3 titles together and return as one sorting result? <sort-order type="xs:string" collation="http://marklogic.com/collation/codepoint" direction="ascending"> <element ns="" name="CaseTitle"/> </sort-order>, <sort-order type="xs:string" collation="http://marklogic.com/collation/codepoint" direction="ascending"> <element ns="" name="Title"/> </sort-order>, <sort-order type="xs:string" collation="http://marklogic.com/collation/codepoint" direction="ascending"> <element ns="" name="Title_of_Treaty"/> </sort-order> Regards, Lee
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
