Avatar of xiaoyunwu
xiaoyunwu
Flag for United States of America

asked on 

sort an array with float and string

I have a array: 0, a, b, 1.2, 0.2, c
I'd like to sort them by number first, then by alphabetic
result should be:
0, 0.2, 1.2, a, b, c

How can I do this?
Java

Avatar of undefined
Last Comment
for_yan

8/22/2022 - Mon