emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Table sorting on two or more columns?


From: Thierry Banel
Subject: Re: [O] Table sorting on two or more columns?
Date: Sat, 18 Jan 2014 11:27:14 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

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     |



reply via email to

[Prev in Thread] Current Thread [Next in Thread]