Finally got rid of the lag. This was so annoying. Guess Microsoft needs to rework the code of the Group by type setting.
Disable Task Mananger's "Group by type" Setting
https://mornechamberlain.dev/2022/04/windows-task-manager-slow-order-by/
this helpful! thank you!
Worked for me too! I love that Microsoft official support was no help and couldn't find the problem. All they do is "sfc scannow, dism, reset PC", I swear they're just bots.
Lucky there are other users that are dedicated to finding and fixing the problem.