By default on patch details, we do a sort on two columns: patch status and base status. Sorting on Name with these two sort columns selected seems to apply Name as the tertiary sort, as expected. However, unselecting the base status column in this tertiary sort seems to promote Name to the primary sort, and patch status to the secondary sort. I'd expect that patch status would remain the primary sort, since patch status had been selected prior to Name (see attached screen recording).
Separately, when Name is the primary sort and patch status is the secondary sort, I'm not sure I understand how the patch status sort impacts the Name sort, or if it impacts the sort at all.
CC Tomer Yakir, since this came up in a chat we had about sorting.