Le 18/01/2014 10:40, James Harkins a écrit :
Is there an existing org function to sort a table based on more than one column? E.g., given:

| Type | Term  | Description                          |
|------+-------+--------------------------------------|
| Filt | LPF   | Butterworth lowpass filter           |
| Filt | HPF   | Butterworth highpass filter          |
| Osc  | Pulse | Band-limited pulse wave oscillator   |
| Osc  | LFSaw | Non-band-limited sawtooth oscillator |
| Osc  | Saw   | Band-limited sawtooth oscillator     |

... is there a variant of C-c ^ that will group the Types together in alphabetical order, and then sort each group of Terms?

hjh


Try using C-c ^ twice:
- first on Term
- then on Type

You will get:
| Type | Term  | Description                          |
|------+-------+--------------------------------------|
| Filt | HPF   | Butterworth highpass filter          |
| Filt | LPF   | Butterworth lowpass filter           |
| Osc  | LFSaw | Non-band-limited sawtooth oscillator |
| Osc  | Pulse | Band-limited pulse wave oscillator   |
| Osc  | Saw   | Band-limited sawtooth oscillator     |