Sorting the heightfields in assembleHeightFieldFromTileSource by resolution so that the highest resolution one is always sampled first.