yeah, you are right, but that's what it is meant to do.
it sorts the first 20 files found. it's not a bug.
the other way would be, find 10'000 files, sort them, and keep only first 20. clearly this is much more slow.
i would surely leave the first method, but i may introduce the other one through another parameter.