Jump to content
Sign in to follow this  
CosmosTunes

_ArraySort Problem

Recommended Posts

CosmosTunes

Hello,

I have a problem with the sort of an array. It has 2 dimensions like:

$test[0][0] = 1111

$test[0][1] = "This is a entry"

$test[0][2] = 10

$test[1][0] = 11125

$test[1][1] = "This is a entry2"

$test[1][2] = 15

...

Now i want to sort the first column of the second dimension:

_ArraySort($array, 0, 1, 0, 0)

But I dont get what i want.

I get this:

10

103

1006

20

2003

....

but i want a number order like this:

10

20

103

1006

2003

....

What should i set up or is it not possible?

Any help would be appreciated.

Thanks,

CosmosTunes

Edited by CosmosTunes

Share this post


Link to post
Share on other sites
CosmosTunes

nice thanks i will try later :(

Edit: worked 100% thanks again :P

Edited by CosmosTunes

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×