F1-F2 usually rebuys your usual/last used. F3 in buy menu buys the most popular (as Gen said, AK/M4 and armour and defuse kit)
but yeah, rather learn the numbers and eventually you'll have what you want in a fluid motion of "B 4 2" buys M4/AK, B46 buys AWP, B15 deagle. B22 semi-auto shotgun, etc)