JFYI, I added this only for requests. Not for incidents. But it can be done of course. To do it in same logic as the request sorting we would need to sort by 1. attribute value of OBS:IncidentPriority (optional, has not to exist) 2. looking up value in patchinfo. To avoid parsing of _patchinfo files, we need to index that first. 3. creation time of incident.