>>> "BB" == Bruno Barbier <brubar...@gmail.com> writes:

> Uwe Brauer <o...@mat.ucm.es> writes:

>> Consider 
>> 
>> | 2 |
>> | 1 |
>> | 1 |
>> | 0 |
>> |   |
>> |   |
>> 
>> (org-table-sort-lines nil nil nil nil t) (numerically 'n' gives)
> ...
>> 
>> So no empty lines, what the hell is going on here?


> The reason is probably that the function 'string-to-number' return 0 for
> anything that cannot be converted to a number.

> Thus, as far as sorting is concerned, "not a number cells" and "cells
> containing zeros" are the same and can be put in any arbitrary order.

I am confused:

https://en.wikipedia.org/wiki/Natural_number 

States that Some definitions, including the standard ISO 80000-2,[3][a] begin 
the natural numbers with 0, so I thought this is standard emacs/org uses. This 
seems not to be the case, am I right
the funny thing is if I chose 
(org-table-sort-lines nil nil nil nil t) alphabetically

It does the right thing, bizarre.

Uwe 









-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to