iTunes will only allow installing the most current version of iOS for the device.
There is no method (or reason) to install iOS 5 then iOS 6.
How to update your iOS device Be sure to read the section on updating via iTunes on the computer.
Also, ensure you actually have a 3GS. If it is a 3G, iOS 4.2.1 is the latest version of iOS the device can run.