Sort by total ms
ylluminarious opened this issue · comments
Can I sort the items in benchmark-init/show-durations-tabulated
by total ms
rather than ms
?
Oh, it seems I can do this by running tabulated-list-sort
which is bound to S
. From its docstring:
(tabulated-list-sort &optional N)
Sort Tabulated List entries by the column at point.
With a numeric prefix argument N, sort the Nth column.
Unfortunately, it doesn't seem to work quite right as some column items near the bottom have high total ms
scores. ms
still seems to be the de facto sorting criteria.
I tried it and it appears that whatever I do it only sorts based on the ms
column. If I call (tabulated-list-sort 3)
it still sorts based on the second column but 0
, 1
and 2
work as expected. At the moment I'm not sure what could be causing this.
@dholm Ok, thanks for investigating this.