parameters: (self)
docstring: Sort data along increasing frequency (e.g. useful for KK).
docstring_summary: Sort data along increasing frequency (e.g. useful for KK).
docstring_tokens: Sort data along increasing frequency ( e . g . useful for KK ) .
function: def sortData(self):
          """Sort data along increasing frequency (e.g. useful for KK)."""
          if self.f is None:
              return
  
          ind = np.argsort(self.f)
          self.amp = self.amp[ind]
          self.phi = self.phi[ind]
          self.f = self.f[ind]
function_tokens: def sortData ( self ) : if self . f is None : return ind = np . argsort ( self . f ) self . amp = self . amp [ ind ] self . phi = self . phi [ ind ] self . f = self . f [ ind ]