My problem is really weird. I have to sort an list like:
list1=["S01E01","S02E010", "S02E013", "S02E02", "S02E03"]
and I want result like:
list1=["S01E01","S02E02", "S02E03", "S02E010", "S02E013"]
I used sort()
, sorted()
, map()
methods but these methods couldn't sort this list as it is already sorted.
If you type "010">"02" in python console it will return false.
Please suggest me any way to debug this problem.