ranking the flower array