| http://www.w3.org/ns/prov#value | - More often you will need to sort things according to some property other than their value, e.g.arc> (sort (fn (x y) (< (len x) (len y))) '(orange pea apricot apple))(pea apple orange apricot)Arc's sort is stable, meaning the relative positions of elements judged equal by the comparison function will not change:arc> (sort (fn (x y) (< (len x) (len y))) '(aa bb cc))(aa bb cc)S
|