I'm sure this has been covered but my searching has yielded no result.
I need to sort a string. In this app the string will hold 1, 2, 3 or 4 characters. The characters will each be numerals.
so "423" or "4132" or "32" they will only ever be 1, 2, 3 or 4 and no digit will ever appear twice. I just need each string to be sorted from lowest to highest.
I need to sort a string. In this app the string will hold 1, 2, 3 or 4 characters. The characters will each be numerals.
so "423" or "4132" or "32" they will only ever be 1, 2, 3 or 4 and no digit will ever appear twice. I just need each string to be sorted from lowest to highest.