Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a large gallery containing a mix of photos in portrait and landscape formats. The BG sort option displays all the portrait photos first and then all the landscape ones. Within the set of portrait photos, the photos are sorted by filename. Within the set of landscape photos, the photos are sorted by filename. But what I want (and I imagine what most people want) is for the whole set to be sorted by filename (with the portrait and lansdscape photos mixed up).
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedI have fixed the problem for my needs by hacking the BG module, using usort() instead of sort() in line 747.