DanB
|
7bc82c9a62
|
Improve DPL's sorting behavior for table columns that are nearly numeric (#47)
* Improve DPL's sorting behavior for table columns that are nearly numeric.
Introduce a new keyword, tablesortmethod, with values 'standard'
(the default, which preserves DPL's existing behavior) and 'natural'
(which uses natsort() instead of asort()).
Example: 103, 103-104, 100, 99, 105
Original sorting behavior: 100, 103, 103-104, 99, 105
New (natural) sort behavior: 99, 100, 103, 103-104, 105
* satisfy static analyzer
|
2021-09-15 19:06:51 -06:00 |
|