Sort column and sort order preference implemented.