Already exist to filter current selection:
hotkey.autociv.selection.nowoundedonly = "K"
autociv being op, you can create or modify the hotkeys and make for example :
hotkey.autociv.session.entity.by.health.nowounded.by.class.select.Cavalry = ""
hotkey.autociv.session.entity.by.health.wounded.by.class.select.Cavalry = ""
This hotkeys system is in/shared with ModernGUI now.