Added a row count parameter to the grid so it doesn't default back to 20 upon sort.