perhaps this should be better formulated as ordered by basename, many people see filename and path as the same thing