fixes #6749 - fix API v2 examples in docs that show error messages by re-ordering functional tests

Since Apipie generates the example json based on the first test of each type, then order of the tests need to be such that the valid test is first and then the invalid test is afterwards