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?
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 756
Reputation: 9,591

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: No registered users and 33 guests