#1915·ranger

sorting independently in multiple tabs

Author: brolyxxxCreated Apr 11, 2020Updated Aug 29, 2026
Labelsenhancement

Runtime Environment

  • Operating system and version: Arch Linux (x86_64 kernel 5.6.3-arch1)
  • Terminal emulator and version: URxvt 9.22
  • Python version: 3.8.2
  • Ranger version/commit: 1.9.3
  • Locale: en_US.UTF-8

Current Behavior

default sort method is natural. When I have multiple tabs open and I change the sort method in one tab (e.g. om or :sort mtime), the same sort method is applied to the other tabs, so you need to constantly change the sort method forth and back as you cycle though tabs.

Expected Behavior

The sort method chosen should be applied only to the tab in focus

Context

natural sorting makes sense in most situations, although one sometimes needs a different sorting in special situations (e.g. sorting a photo album by mtime) without affecting other views.

Possible Solutions

Maybe implement an option to apply the sort method only to the tab in focus