This already exists!
To quickbuy something from the T shop you can bind something to:
"ttt_order_equipment"
To bind it to a sandwich like you have in the example, bind
"ttt_order_equipment weapon_ttt_sandwich"
To order different weapons, just replace sandwich with the name of the weapon.
Example - recombobulator, knife, teleport, health_station, etc.