You cannot reserve seats for the Gornergrat. Buying this ticket in advance gives you no advantage whatsoever. For the Jungfraujoch just reserve at a station here.
In general do not buy mountain excurions till the day before, when you know what the weather will be.