I suggest that guns get their selection priority lowered, when they are out of ammunition.
Example: Sharps has 3 handguns. A Handcannon, a Mk.23 and an 9mm.
The HC shows up first when the [2] key is pressed, for selecting pistols. When the HC is empty and you switch from rifle to pistol, the empty HC shows up at first. It would be helpful, when the selection priority would switch to the Mk.23 in that case, that the order would be Mk - 9mm - HC.
Example: Sharps has 3 handguns. A Handcannon, a Mk.23 and an 9mm.
The HC shows up first when the [2] key is pressed, for selecting pistols. When the HC is empty and you switch from rifle to pistol, the empty HC shows up at first. It would be helpful, when the selection priority would switch to the Mk.23 in that case, that the order would be Mk - 9mm - HC.