code: public static SortedListView sortedView(ListNumber values) {
          SortedListView view = new SortedListView(values);
          if (values.size() <= 1) {
              // Nothing to sort
              return view;
          }
          
          double value = values.getDouble(0);
          for (int i = 1; i < values.size(); i++) {
              double newValue = values.getDouble(i);
              if (value > newValue) {
                  SortedListView.quicksort(view);
                  return view;
              }
              value = newValue;
          }
  
          return view;
      }
docs: Creates a sorted view of the given ListNumber.
  <p>
  The ListNumber is not sorted in place, and the data is not copied out.
  Therefore it's intended that the ListNumber is not changed while
  the view is used.
  
  @param values the values to be sorted
  @return the sorted view