crash_sender: upload oldest crashes first

The current logic is sorting crashes by date (which is good), except it
sorts it such that the newest is first (which is bad).

This means if a new process continues to crash, old crash reports will
be perpetually stalled (it's a stack).  Instead, let's start with the
oldest first (like a fifo).

TEST=`cbuildbot x86-generic-full` passes VMTests

Change-Id: Ifadedba80cb8c602c094c91d419e4d9645abda51
Reviewed-by: Ben Chan <>
Commit-Queue: Mike Frysinger <>
Tested-by: Mike Frysinger <>
1 file changed
tree: 267e310c2e12cef3446c922f7c5d42ffe84d8bc6
  1. crash_reporter/