Really basic but strange problem

Just need to work out what order the tabs need to be in now.

You did not fully answer my previous question about tab/file names. What extension have you used for the file names ?

I think that you will find that the files are compiled in alphabetical order