Set limit on number of rows and removed column sort