[fix] Sort by file extension then name when using 'Type' sorting

please replace `==` by `is` which is our "standard"