Change sort order in gallery shortcode

Hi. I have a question - when I create a media gallery shortcode, how can I set sort order for it without letting user choose it? For example, I want to create “Most Viewed” gallery. What should I do?

Hi @Valery_Ergardt

Sorry to say but this feature is not available for gallery shortcode. We might add it in future. For feature request, you can create an issue on github: