Sorting table in window

I want to create a sort table in a normal window. With different parameters. but have no idea how to work with this. I have already watched a number of videos, but I still have no idea

What do you mean with a “sort table”? You can sort any table by just clicking on the column names.

I have different parameters and the one with the lowest value must be at the top. these can change from minute to minute so it has to be done continuously

Ok, now I get your problem. So I assume you get the data from somewhere, and now bind it to the data property of the table.

You can create a new custom property, (f.e. unsortedData), and link the data to that.
Then use the sortDataset expression to sort your data and bind that to the data property to display.