I have made a simple Scrapy spider that I use from the command line to export my data into the CSV format, but the order of the data seem random. How can I order the CSV fields in my output? I use the following command line to get CSV data: scrapy crawl somwehere -o items.csv -t csv According to this Scrapy documentation, I should be able to use the fields_to_export attribute of the BaseItemExport
![How can I use the fields_to_export attribute in BaseItemExporter to order my Scrapy CSV data?](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)