How to prevent the file browser from showing folders before files?
As far as I know there currently is no way to sort folders mixed with files.
As a workaround you can temporarily hide all folders from view.
Open the filters popover, then from the file types untick the Folders entry.