sort_recent.go
func SortRecent(messages []*events.LogMessage) []*events.LogMessage {
	sort.Stable(logMessageSlice(messages))
	return messages
}
func SortRecent(messages []*events.LogMessage) []*events.LogMessage {
	sort.Stable(logMessageSlice(messages))
	return messages
}
// SortRecent sorts a slice of LogMessages by timestamp. The sort is stable, so messages with the same timestamp are sorted
// in the order that they are received.
//
// The input slice is sorted; the return value is simply a pointer to the same slice.