Nov-11-2017, 09:05 PM
if the items in the tuple are truly pathlib objects, they must be resolved before sorting,
otherwise you are sorting the object addresses
otherwise you are sorting the object addresses
List of pathlib.Paths Not Ordered As Same List of Same String Filenames
|
|