directory-insensitive sort