sortWithFunction
-
This post is deleted! -
Yes, just return -1, 1 or 0 based on the comparison and it will sort it. The function needs to have two arguments.
-
@Christoph-Hart It's not workin on arrays generated by FileSystem.