by luckylion · 7y ago · 0 comments
A quick glance at the documentation didn't mention it, does glob even promise sorting the result? Relying on that to happen when it's not even promised seems negligent.
What do you mean? It is the very first sentence of the documentation: "results are returned in arbitrary order"
I think this is why it doesn't get noticed; the files are written say
result-20190901-1303
result-20190901-1305
result-20190901-1310
etc...