# :FUNCtion:PARameters:FFT:PEAK:SORT

FFT Parameters Commands

- :FUNCtion:PARameters:FFT:AIMPedance
- :FUNCtion:PARameters:FFT:DETector:COUNt
- :FUNCtion:PARameters:FFT:DETector:TYPE
- :FUNCtion:PARameters:FFT:DISPlay
- :FUNCtion:PARameters:FFT:NFRequency
- :FUNCtion:PARameters:FFT:PEAK:ASCii:FDATa?
- :FUNCtion:PARameters:FFT:PEAK:ASCii:MDATa?
- :FUNCtion:PARameters:FFT:PEAK:COUNt
- :FUNCtion:PARameters:FFT:PEAK:DOUBle:FDATa?
- :FUNCtion:PARameters:FFT:PEAK:DOUBle:MDATa?
- :FUNCtion:PARameters:FFT:PEAK:ENABle
- :FUNCtion:PARameters:FFT:PEAK:LEVel
- :FUNCtion:PARameters:FFT:PEAK:SORT
- :FUNCtion:PARameters:FFT:PREFerence
- :FUNCtion:PARameters:FFT:PREFerence:TORigin
- :FUNCtion:PARameters:FFT:RBANdwidth?
- :FUNCtion:PARameters:FFT:RIMPedance
- :FUNCtion:PARameters:FFT:TFACtor
- :FUNCtion:PARameters:FFT:WINDow

## Command Syntax

    :FUNCtionN:PARameters:FFT:PEAK:SORT {DMAG | IFReq | DFReq | IMAG}

Where N identifies one of up to 64 possible operators {1:64} that can be defined as part of a math function. The operators are numbered in the order that they were originally added to the function.

## Query Syntax

    :FUNCtionN:PARameters:FFT:PEAK:SORT?

## Description

When FFT Peak Detection is enabled (see `:FUNCtion:PARameters:FFT:PEAK:ENABle`), this command specifies the order in which peaks are sorted:

- `DMAG` — decreasing magnitude
- `IFReq` — increasing frequency
- `DFReq` — decreasing frequency
- `IMAG` — increasing magnitude