Hi Junior,
If you are using a structure I presume you are using Advanced SQL and in that case you will need an Order by parameter with Expanded Inline = True.

You then need to fill it with the default with something like this:

Where table records is the name of the Table Records input and the second parameter is your default order value, the SQL field you want to order in {Entity}.[Attribute] format like you would do on normal SQL.
The same type of values you use on the List_SortColumn widget:

I built a simple example OML for you in attachment.
Hope it helps.
Regards,
João