code: def get_released_versions(component):
      
  
      releases = get_tags()
      releases = sorted([(x[0], [int(y) for y in x[1].split('.')]) for x in releases], key=lambda x: x[1])[::-1]
  
      return [(x[0], ".".join(map(str, x[1]))) for x in releases if x[0] == component]
docs: Get all released versions of the given component ordered newest to oldest