code: def _check_spec_bins_ordering(self):
          
          if self.spec_bins is None:
              return
          if len(self.spec_bins) == len(self.data.index):
              self.spec_bins_time_varying = True
              break_top_loop = False
              for index, row in self.spec_bins.iterrows():
                  if row.isnull().values.all():
                      continue
                  else:
                      for i in row.index:
                          if np.isfinite(row[i]) and np.isfinite(row[i + 1]):
                              ascending = row[i] < row[i + 1]
                              break_top_loop = True
                              break
                          else:
                              continue
                      if break_top_loop:
                          break
          else:
              ascending = self.spec_bins[0].iloc[0] < self.spec_bins[1].iloc[0]
          return ascending
docs: This is a private function of the TVar object, this is run during
          object creation to check if spec_bins are ascending or descending