I am using Salesforce API via Beatbox Python. I wrote SOQL queries using beatbox and fetching the response. But the order of fields in request and response are not the same. For example sample query I wrote
Request: Select Name, BillingCity, BillingState From Account
Response Fields Order Actual: BillingCity, BillingState, Name
Response Fields Order Expected: Name, BillingCity, BillingState