Proper sorting of numerical columns, proper background colors when sorting.

Also some minor column header related stuff for implementing filtering
later.