I would guess in that case that you need to sort your array into another order (maybe by a 'count') so that your new array is in the order that you want.
Sorry I can't be more specific - I know how to do this using Cache or 'M technology' (my background), and it would be easy to do but I'd have to look it up if using javascript or whatever. Try asking in the Javascript forum if that is what you are using.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.