Re: [more absurd] (was: org-table-sort-lines (numerically) leaves 0 separated)

2022-07-03 Thread Bruno Barbier
Uwe Brauer 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 th

[more absurd] (was: org-table-sort-lines (numerically) leaves 0 separated)

2022-07-03 Thread Uwe Brauer
>>> "UB" == Uwe Brauer writes: > Hi > I have the following table > | name | marks | > |---+---| > | Auser | 0.5 | > | Buser | 2 | > | Cuser | 0 | > | Duser | 2 | > | Euser | 0 | > | Fuser | 3 | > | Guser | | > | Huser | 0 | > | Iuser | | > | Juser |

org-table-sort-lines (numerically) leaves 0 separated

2022-06-30 Thread Uwe Brauer
Hi I have the following table | name | marks | |---+---| | Auser | 0.5 | | Buser | 2 | | Cuser | 0 | | Duser | 2 | | Euser | 0 | | Fuser | 3 | | Guser | | | Huser | 0 | | Iuser | | | Juser | 6 | If I sort the second column numerically I obtain