Model index via item-file

How can I set the index of a model item via item-file?
Via UI it can be set via Metadata/Default widget order index.

Thanks in advance!

For anyone else looking for how to do this - just add eg widgetOrder="1" to the item metadata, if you want that item to appear first