From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Fri, 21 Jul 2017 17:27:25 +0100 Subject: Sorting directories before files in tree view In-Reply-To: <20170721153918.4fttx2tjbr2tifqe@envy.local> References: <20170721153918.4fttx2tjbr2tifqe@envy.local> Message-ID: <20170721162108.GA1600@john.keeping.me.uk> On Fri, Jul 21, 2017 at 09:13:33PM +0530, John wrote: > Is this possible?. Not without significant changes to ui-tree.c. Currently we output items in the order they appear in the tree object being displayed (by definition, this is lexicographically sorted). Displaying them in a different order would require saving all of the items in memory and then sorting them before display.