Order by state in severity order based on AlertType ordinal

Order by state in severity order based on AlertType ordinal
By default on load, sort is reverse state
Should fix #53