Сортировать струны как числа Python

a = sorted(a, key=lambda x: float(x))
Annoying Alpaca