Let projection be done before sorting

When sorting, a row needs to be compared with other
rows quickly and multiple times. To facilitate this,
force projection to happen, so sorting doesn't have
to execute an expression for every comparison.