Logging errors last after warnings

Is there any way to have errors be logged at the bottom of my terminal (i.e. logged last)

I like to code with my compiler running side by side with my editor window. During refactors, I often have to scroll up past warnings in my terminal to find the next error I’d like to handle.

If it logged the error last, it would feel more “in-order” of concerns. Handle errors first → then warnings