http://www.perlmonks.org?node_id=145754


in reply to Keeping Order with mySQL (Mildly OT)

you could keep a column in your "user" table named "sort_order" which stores the display sequence as chosen by the user. so whenever you needed to display the data , all you need to do is sort the data according to "sort_order" rather than the primary key.