I need to add a column for a row number to let the user adjust the row position manually.
The table already contains some data and has a timestamp column containing date and time of when the row was inserted.
The question is how to initialize the row number column using the same sequence defined by the timestamp ordering so that records added earlier would have lower row number.