ErikZalm/Marlin — pull request #1154 by thinkyhead (2014-11-24 22:09:39+00:00)
Title: SD Card Sorting Options

Alphabetical (case-insensitive) directory sorting for SD cards uses pre-reading to build a sorted index list. Two methods are included: The slow but efficient method reads names while sorting. The faster method buffers the directory while building the index. Includes an option for folders to sort first, last, or not at all.