Modified log severity sorting so that the screen updates correctly