Are you referring to Scripting, the REST API, or the Metadata API?
If you are referring to Scripting, I think you mean
table.fields. However, it sounds like RSk is using the REST API, and you cannot get a list of fields that is guaranteed to be complete from the REST API.
In any case, the array of fields is not necessarily in the order that appears in a particular view. I believe that the order is the order in which the fields were created, and they could have been re-arranged since then, as different views can show different fields in different orders.