Q. In MatLab, if you issue the following command:
save 'file.txt' a b c d e -ascii
in what order will the variables a, b, c, d and e be written to the file?
A. Who knows?
Presumably the variable names are being stored internally in a hash table. Iterate over that hash, and the order of the variables will be undefined. Gah!