order gallery descending by creation date; responsive view; calculation of distinct values in ranking fixed