How do I deselect one object between other objects? I often have a problem with deselecting objects in the scene, for this I use the shift+leftclick key. For example, I have two objects selected, and below them a third object, I try to deselect one of the objects,but instead it attaches to them a third object, which is located below them. 

Screenshots are attached.
Surely this will not be so easy if many objects are in selection conflict, but, ShiftAltClick (the click button here may depend on your configuration), brings a menu that allows to choose the wanted object:



PS: was in hope the object order in the menu was relative to the ray cast distance, but this is not the case.