From: Paul Carvalho Date: 2009-08-31T04:05:05+09:00 Subject: Re: Sorting an array by multiple elements? Got it! > The sort with the sample data above works as I expect, but for some > reason it still isn't sorting correctly with my real data.  I'll keep > looking at it.  I must be missing something else, although I can't > think what it might be right now. > The 'name' element turned out to be an array. (Doh!) I flattened the data and the sort_by now works correctly, as expected. Thanks again for all your help. Cheers!