Revert "Don't rely on order of version types in programme metadata"

This reverts commit 9c386ad08da7a24d467ebc075a8c7cf950d56705.
Don't rely on order of version types in programme metadata (2nd try)