-- submission type update nodeTypeT set sorter = 10 where id = 12 and sorter = 20; -- locality update nodeTypeT set sorter = 20 where id = 7 and sorter = 10;