adds column sorting