Fix getLogLines crash bug
Fix getLogLines crash bug

Summary: I'm a clown, and didn't read the spec, which says "COMPARISONS SHALL BE STRICT, OR YE MAY BE DEVOURED BY EVIL DAEMONS". So in some situations with lots of duplicate keys, the sort would merrily walk out of bounds and cause all sorts of havoc.

Reviewed By: ajtulloch

Differential Revision: D2253890

fbshipit-source-id: 4fc3723698ecafb7e20397fceea35cb89a370ad8

facebook/bistro,facebook/bistro,facebook/bistro,facebook/bistro,facebook/bistro,facebook/bistro