How do I sort an array?

Get help using Construct 2

Post » Tue Jun 07, 2016 10:18 am

Hi. I tried the builtin "sort" action but there are no options for it and it does sort in a weird way. Uppercase letters are listed before lowercase like this:

AAAAA
BBBBBB
CCCCCC
aaaaaa
bbbbbb
ddddddd


But I want it to sort by ABC regardless of upper/lowercase. Is it possible to use different sort options?
B
54
S
16
G
6
Posts: 719
Reputation: 9,207

Post » Tue Jun 07, 2016 4:27 pm

Use you own sort routine ?
Two routines listed in here with capx. You will see, its pretty easy. Dont run away from it to fast.

sorting-an-array_t67745
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: evillair, Exabot [Bot], Solomon, Yahoo [Bot] and 11 guests