Re: [xsl] Sort List of Maps By Key Value

Subject: Re: [xsl] Sort List of Maps By Key Value
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 29 Sep 2018 18:22:33 -0000
On 29.09.2018 19:57, Eliot Kimber ekimber@xxxxxxxxxxxx wrote:
Using XPath 3 maps:

I have a list of maps where all the maps have a key on whose value I want to sort the list of maps.

A list? What does that mean in the XPath type system, a sequence of maps, i.e. map(*)*?


Can't you just use
  $maps => sort((), function($m) { $m?sortonme })
?

Current Thread