Make ‘grid_heights_values’ a numeric vector
Verify that heights are sorted; sort if necessary