a=[3.0,2.5,1.0,'1/3','4/5']
I would like to sort this array, i tried converting the strings to another array i.e,
a[3]=['1','3']
then converting them to float and then perform the division. the problem is, it becomes more complicated when i sort them using a.sort, I don't know how to bring them back to their string form I need to know how to this without importing the fraction module
Help please.