In order of best to worst (Shimano):
Dura-Ace
Ultegra
105
Tiagra
Sora
After you get the frame that fits you, generally speaking you want the nicest components you can afford. However, in triathlon, there are generally better things to spend your money on.