wcsfilecmp: make sure trailing slashes sort first
This command cd $(mktemp -d) mkdir a "a b" complete -C": " prints a b/ a/ which is wrong ordering. Usually the trailing slash should not be compared. Fix this by always sorting slashes first. Not sure if this is correct for middle slashes but I couldn't find a case where it matters. Closes #12695
J
Johannes Altmanninger committed
71d6ec4ab95bf44c4fa853eda18376109a06a011
Parent: 683e4c8