docs: def issorted(list_, op=operator.le):
      """
      Determines if a list is sorted
  
      Args:
          list_ (list):
          op (func): sorted operation (default=operator.le)
  
      Returns:
          bool : True if the list is sorted
      """
      return all(op(list_[ix], list_[ix + 1]) for ix in range(len(list_) - 1))