Sort number list

Sorts the values of a number list.


Inputs

  • list

    • The list of values to sort.
  • near value

    • The value that is used to find the closest value to it (above and below) in the list input.

Outputs

  • sorted list

    • The sorted list of values.
  • original indexes

    • The list of original indexes in the order of the sorted list.
  • reverse indexes

    • The list of sorted indexes in the order of the original list.
  • value below

    • The value immediately below the value defined by the near value input in the sorted list.
  • value above

    • The value immediately above the value defined by the near value input in the sorted list.
  • below index

    • The index value of the value below output.
  • above index

    • The index value of the value above output.

Note(s)

  • This can also be used to find the closest values to an input value from within a sorted list by using the near value input and the value below, value above, below index, and above index outputs.

  • Other names for this node include: SortFloatList.

Example(s)