Hi,
I have an array that can have over 5000 elements. I want to sort the array first by the number of words of an element (elements with most words first in array), and second on alphabet. The only way I can think of is go through the array, count the number of words place them in seperate arrays depending on the number of words. Sort those arrays by alphabet and merge the arrays in one.
Does anyone have a smarter solution?