kean / Pulse

Network logger for Apple platforms
https://pulselogger.com
MIT License
6.18k stars 294 forks source link

Order exported items by creation date #261

Closed goranbrl closed 2 months ago

goranbrl commented 2 months ago

In our project, we noticed that the logs could sometimes end up in a scrambled order during export, especially if they were created pretty much simultaneously (down to a few milliseconds).

After some investigation, it seems like explicitly adding the sort descriptor seems to have resolved our issue, so I'd like to propose this update to the tool as well.

kean commented 2 months ago

Thanks for adding it. Right, it appears that this predicate was just missing – it has to sort by date.