And the question.
I use the Phoca Gallery 2.7.5. Organized on the basis of its photo contest. I can organize pictures into categories based on the number of votes or by the highest rate. However, if the average score is the same, the photos are distributed in the order they were added. Can I make pictures sorted by the highest rate and the number of votes at a time?
For example, there are three photos:
(1) first add photo has 3 votes and the average rate - 4
(2) The second picture was added with 7 votes and the average rate - 4
(3) The third added photo has 2 votes and the average rate - 5
Now, if you order by number of votes, then we obtain the following order: (2), (1), (3)
If you order by highest rate, then we obtain the following: (3), (1), (2)
And I would like to order photos were derived in the following order: (3), (2), (1)
How can this be implemented?
Thanks.

