I'm pretty sure that the command to cycle through ships via the console takes the ships in order of index numbers, doesn't it?Verifying that the list in ships_init.c is in the index order would be time consuming.
By some 'coincidence', they happen to appear in the same order that they are listed in ships_init.c. At least, I think they do.