That was a nice idea from the developers since the start from the session...
All vendors buy only 2-3 categories of stuff, for exemple:
-killian from junktown buy almost all stuff
-trader in necropolis buy only EW stuff
-trader in "guns" from hub buy only melee weapons, drugs, and energy weapons.
-Bazar trader from ncr buy only big guns, good small guns, and energy weapons.
So you need to try...