updated sorting for version-matrix