Am 10.04.23 um 13:00 schrieb ael:
Using F6/sort option, I find that the list is usually sorted by PID regardless of whetehr I have chooseb other choices. I usually want a sort by CP usage or Memory.This seems to be a problem with the user interface: ncurses?. Using the -s option as in $ htop -s PERCENT_CPU it sorts as expected.
Can you delete / move away your ~/.config/htoprc (which htop is not running) and try again?
On Debian testing, same versions, I cannot reproduce the issue at the moment.