Sequencing and selecting fields in JSON/search results

Would a modification of the code in this tutorial (displaying an ordered search result in a table) help to define sequence and the returned fields in my csv file?