Array Sort X not working with external file

Get help using Construct 2

Post » Wed Aug 07, 2013 4:00 am

For some reason my Sort X is not working as expected...

The first item in my CSV file seems to be ignored by Sort X and placed at the very end of my array...

Preview works great, Node-WebKit export not so much...

*Edit - posted a better CAPX, but still not working as expected on export*
CAPX
https://dl.dropboxusercontent.com/u/39000273/CleanTest.capx
Files
http://db.tt/4EdJO2Sd
http://db.tt/nryTn4RVgoblynn932013-08-07 08:35:58
B
10
S
4
G
2
Posts: 133
Reputation: 2,667

Post » Wed Aug 07, 2013 8:24 am

@rexrainbow

could CSV2ARRAY be doing something that would cause an odd Sort X issue?

I import my CSV into my Array from an external file and when I sort the files the first item in the list does not sort properly.

I am hoping to just get a very simple 2d array from a CSV but it seems like something is happening where the first item is treated as a Row Name, or a label or something and not just a regular cell like the others...

This list:
A
X
T
G
P
V

Sort X gives this:
G
P
T
V
X
A

but "A" should be first in line...
B
10
S
4
G
2
Posts: 133
Reputation: 2,667


Return to How do I....?

Who is online

Users browsing this forum: celstrider, Exabot [Bot], yme and 9 guests