Make folders in results sort at top
Similar to how most file managers and file picker dialogs offer, suggesting to add a setting that would sort folders in search results at the top above files.
When clicking on the Name column to sort results by name, folders would sort alphabetically at the top and then the filenames would sort alphabetically below the folders in the search result list.
Again this would just be a setting that user can choose to turn on/off if desired.
Thank You