I am getting the fields of a list view using the javascript object model
view.get_viewFields()
However, this does not return the fields in order which they are configured in the view. It just returns the schema xml with the internal names and we can read the field names using the "get_item()" method. I have observed that the order that is returned is the order in which the columns were created in the list.
Is there a way to read the current order of fields in list view using javascript object model ?