Trains leave the Alexandria Station almost on the hour however as mentioned its the 8 am Turbo to Cario you really want to get on as it gets along at 130plus MPH and is non stop gets you into Cario at 10.00 ish, if you miss it then theres the Express at 8.15 and that gets you in around 11.00 then theres the slow one at 9, dont take that wait till 10 and that is a express that gets you in at 12.40, 1st class is around 8 bucks and 2nd class close to 7 so the 1st class is the way to go
The ship was never late in docking and I am sure if you go to Mid Ships before hand and explain you have a train to catch and can you get off ASAP then they will oblige bearing in mind it will take you 10 - 15mins to get there and your ticket as you will be docking at 7 and then she must be cleared however your docking will be the 4th I think so they may clear her very quickly as it will be just another week for them- one hopes for your sake anyway
re the Tram for the Blue Mosque & Grand Bizarre in Istanbul please see my reply under "Post reply" DOCK IN INSTANBUL