code: function sortNodes(a, b) {
    if (Node.Type.isConstant(a) && Node.Type.isConstant(b)) {
      return parseFloat(a.value) - parseFloat(b.value);
    }
    else if (Node.Type.isConstant(a)) {
      return -1;
    }
    else if (Node.Type.isConstant(b)) {
      return 1;
    }
    return 0;
  }
docs: Sorts nodes, ordering constants nodes from smallest to largest and symbol nodes after