finder "sort by" is greyed out when attaching a file to email
All I want to do is attach a file to an email I'm sending, but once I click on the paper clip icon, the files in finder windows that come up cannot be resorted. The "sort by" column is greyed out. So I have no choice but to look at all of the file names one by one until I find the one I want to attach. Isn't that what computers are for?
Does anyone know why this is happening and if it can be fixed? If I'm doing something wrong, I'd love to know what it is.
iMac 27″, macOS 11.2