Inverted expected returned array order