sort available version updates by version release dates
bring back @api_handle_error_with_json
use builtin datetime.strptime to convert string to date