a = sorted(a, key=lambda x: float(x))
>>> b = ["949.0","1099.0"] >>> b.sort(key=float) >>> b ['949.0', '1099.0']