I have the following org-table:
| Row # | Facility | Recycled Off-site |
|-------+--------------------------+-------------------+
| 1 | 1234, 12th st, jamestown | 216,574 |
| 2 | 1234, 12th st, jamestown | 760 |
| 3 | 1234, 12th st, jamestown | 0 |
| 4 | 1234, 12th st, jamestown | 464 |
| 5 | 1234, 12th st, jamestown | 0 |
| 6 | 1234, 12th st, jamestown | 2,280 |
and I want to sort the table by the last column. I perform M-x org-table-sort-lines n
to sort the column numerically, and here is my output:
| Row # | Facility | Recycled Off-site |
|-------+--------------------------+-------------------+
| 3 | 1234, 12th st, jamestown | 0 |
| 5 | 1234, 12th st, jamestown | 0 |
| 6 | 1234, 12th st, jamestown | 2,280 |
| 1 | 1234, 12th st, jamestown | 216,574 |
| 4 | 1234, 12th st, jamestown | 464 |
| 2 | 1234, 12th st, jamestown | 760 |
Unfortuntaly, the commas are a thousands place holder, not a decimal. Is there a setting where I can have org-table sort the rows using the commas as a thousands placeholder? For example, here is my desired result:
| Row # | Facility | Recycled Off-site |
|-------+--------------------------+-------------------+
| 3 | 1234, 12th st, jamestown | 0 |
| 5 | 1234, 12th st, jamestown | 0 |
| 4 | 1234, 12th st, jamestown | 464 |
| 2 | 1234, 12th st, jamestown | 760 |
| 6 | 1234, 12th st, jamestown | 2,280 |
| 1 | 1234, 12th st, jamestown | 216,574 |