Custom Fields in query result are not in the sequence

I have a query in which fields are mentioned like this : fields=Status,Priority,CF.{A},CF.{B}

But the result is shown like Status, Priority, CF.{B}, CF.{A}.

Custom field B is coming first in query result.

I want query result to be in same order of fields mentioned in query.

In the Query Builder at the bottom, theres a ‘Display Columns’ interface that lets you control which, and the order of, the columns in the search results.

Thanks for the reply.

I forgot to mention that I am running query through REST API from VB application.

The REST API is just supplying your VB client with the data. The ordering and rendering is something that the VB application can be handling itself as its providing the user interface.