Taking advantage of GitHub's rendering of .geojson
Fix WMTS requestEncoding
Sort matrixIds by scaleDenominator

We cannot assume that the matrixIds are ordered in the matrixSet. For example, they're not ordered in http://wxs.ign.fr/cle/geoportail/wmts?SERVICE=WMTS&REQUEST=GetCapabilities.
Add an IGN WMTS example