added fortran ordering