Added sort by separate columns or group of columns.