UPDATE table1 SET sort_order = 1 WHERE state = "Virginia" #### ORDER BY sort_order DESC, city DESC