When creating a function one can choose to sort the resulting Excel sheet. This can be set up both in the configurator and by manually editing the XML file.

Sort from/to column: Excel requires a sorting area for sorting. This is usually the start end end column of your output.

Sort by column:  The column used for sorting. Multiple columns can be used.

Set up sorting in configurator

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b5f307ad-360d-4866-990c-b6bbf7959a8d/image2017-3-27_14-38-21.png

Set up sorting in XML

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e881c72b-2b4d-4dd9-9411-2aa661c728c0/image2017-3-27_14-49-2.png