Improved default sorting behaviour based on column type