cocoa: sort files opened from Finder the same way Finder does