Sort column state