Are the users only able to see their own labs, or can the labs be shared? If they are shared, then you cannot associate user-specific ordering with only the Labs table itself. BTW, if the lab list (or the part of it that is sorted) is not very large, you can just update all the
order
values at once - just throw away the the old values and replace them with the current index in the list.