Is it worth `goog.asserts.assert`ing that the array is sorted instead? See https://github.com/openlayers/ol3/blob/master/src/ol/tilegrid/tilegrid.js#L35-37. I'm not sure which approach is better, but we should be consistent.