When we save a new version, the new version should be added to the array. Make sure the array is correctly sorted, from oldest to newest.
Check if version is valid. If there is no previous versions, set "0.0.0" as the current version and validate from there.
When we save a new version, the new version should be added to the array. Make sure the array is correctly sorted, from oldest to newest. Check if version is valid. If there is no previous versions, set "0.0.0" as the current version and validate from there.