Sort column UI added.
Swapped height and sort columns in the code. Added support if no sort
column is specified, but attributes are. Started to implement
binning/sorting.