[eluser]Jason Tan Boon Teck[/eluser]
If you want to allow the user to sort the rows abritrarily, i.e. not serial, nor alphabetical, etc., then add an integer column to the table. Advise the user to assign the sort order in large multiples, e.g. 100's or 1,000's or more.
For example:
table_sort col_data
1000 ADKSFJ
2000 FJKAIE
3000 DJAERS
If a new data NEWDAT needs to be added between ADKSFJ and FJKAIE, then assign 1,500 to the table_sort when inserting.
1000 ADKSFJ
1500 NEWDAT
2000 FJKAIE
3000 DJAERS
The application/user need not resort the table for a while until it gets too congested.
Hope this solves your problem.