hi @rdkgn
not sure if I follow 100%. You would like to sort on the loglevel column in Discover?
Sorting only works for ordinal field-types, like dates en numbers, and not for keyword or text-fields. I would create an enhancement request here: https://github.com/elastic/kibana/issues/new/choose