I have a php array like :
myarr[1] = "1",
myarr[2] = "1.233",
myarr[3] = "0",
myarr[4] = "2.5"
the values are actually strings but i want this array to be sorted numerically, also considering float values and maintaining index association.
Please help me out.
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…