1
Hi. I have a problem, and I can’t seem to fix it. I have a text inside an array with several random letters.
Ex:"vwv rhjs vqgvcq pjdvb gjpsmc jsm zhctgvl jwgbbs" and so on, it’s 600 words.
I need to sort the words alphabetically, but not in the order of our alphabet. But this custom alphabet, the order of the letters is "k,b,w,r,q,d,n,f,x,j,m,l,v,h,t,c,g,z,p,s.
I already tried to pass everything to float, and try to sort with Sort(), but it didn’t work. Someone could help me with this?
Text within an array? Or each word is an element of the array?
– Sam
So the text isn’t even in an array. It’s just text.. I put it in an array...
– Rodolfo Mori
You’re missing letter on your order
– Sorack
In case are missing the letters "aeiouy"
– Sorack
So... but this custom alphabet, it’s just these letters... doesn’t have the other ones.
– Rodolfo Mori
But the rest come before or after the ones you mentioned ?
– Isac