Sort Table with Drag and Drop

Thanks John! however when i move them the values of the index field remain the same. is it supposed to do that?