Use correct ordering for request arrays. fix #2810
Merge branch 'refs/heads/develop'