fixed dwh_stream_f to have fortran ordering