Re: Sort returns 1?

2009-10-01 Thread Alexandru Ciobanu
On 10/1/2009 5:28 AM, Dave Maharaj :: WidePixels.com wrote: My bad The array is more complex than I originally posted. So I need Program and Skill sorted alphabetically Array ( [Program] = Array ( [0] = After School Studies [1] = Gym

Sort returns 1?

2009-09-30 Thread Dave Maharaj :: WidePixels.com
Anyone know why a sort returns 1? Model function: $merged = array_merge ($new_skills, $selected); //debug($merged); $sorted = sort($merged); //debug($sorted); $merged produces Array ( [0] = Cohghol [1] = Shit [2] = Thfghfdgh [3] = Zoo [4] = Alfred [5