Sorting works, need to limit cell count