numpy matlab ordering is painful...