> I may be wrong, but shouldn't it just be a matter of sorting an unordered
> list of numbers (i.e. positions in your queue), using bubble sort or some
> other such algorithm.

Nah, it seems more complex than that. I don't know, maybe it isn't, but I still 
don't see how you "rectify" the list before updating the database. I must be 
missing something. I know the "re-order" button updates your order, THEN has to 
at some point UPDATE that table with the new sort orders, otherwise, next time 
you come back, it's not sorted  correctly.

So I think it's doing all that "validation" I suppose, client side, then 
updating the DB with properly sorted "orders". In other words, no duplicate 
orders, no missing orders, etc.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241634
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to