----------- ... The first question that has to be asked is if the results are ranked by album irrespective of artist or if the results must still have albums by an artist still grouped together.
If they don't have to grouped by artist then you really do have to convert to a flat array as a multi dimensional array does not reflect this structure. ... They don't have to be grouped by artist, but the reason I made the multidimensional array is because there are a few cases where there are two different bands who have an album of the same name, which creates problems since the array's keys are the album names. Perhaps I could make it something like: $Score[$Artist - $Album]=$avg; So that there is no overlap with the albums as keys, but also there is no complicated multidimensional array. In fact, I'll give that a quick try and I'll try to reply soon as to whether or not it works. Thanks a million Robert :) -bryan
