def sort_version_list(version_list, reverse):
 version_list.sort(reverse=reverse, key=(lambda s: StrictVersion(s)))
 return version_list

def sort_version_list ( version_list , reverse ) : version_list . sort ( reverse = reverse , key = ( lambda s : StrictVersion ( s ) ) ) return version_list
returns sorted version list - assumes strict version number .