I just found out that the following code yields the directory listing in
reverse alphanumerical order on Snow Leopard (10.6.1). This is with the
out-of-the-box ruby install.
Find.find ‘/Library/Preferences/’ do |x| puts x end
On MacOSX 10.5 Leopard, it yielded the listing in either default system
order, or alphanumerical order, I don’t remember.
Is it expected behaviour and what can I do to restore the previous one?