DoubleSorter class added: simply maps a set of DoubleValued nodes to a
sorted array of their values.