This will allow indexed ordering by severity. Add WC_Log_Levels::get_severity_level method to translate severity integers to level strings. The inverse of WC_Log_Levels::get_level_severity. Add context to tests.