I have a list that contains elements:
['16:11:40.894 0,Type=IsXover,Count=1,lp-isD=2'
'16:11:40.894 0,Type=IsXover,Count=54,lp-xsD=1'
'16:11:40.894 0,Type=IsXover,Count=201,lr-isD=3'
'16:11:40.894 0,Type=IsXover,Count=3075,lp-gsD=5']
I want to sort this list based on the number after 'Count='. I can't do it with .sort(key=lambda x: x[37]) as it has been said here because my digits become double, triple, ... digits. How can I sort this list without using regex?
(Please not the list is pretty long, I wrote a summarised version of the list above)