Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sort strings as numbers python

a = sorted(a, key=lambda x: float(x))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sort #strings #numbers #python
ADD COMMENT
Topic
Name
2+4 =