fix: make sure events are sorted

This commit is contained in:
evilsocket 2018-01-29 14:20:24 +01:00
commit 5d3381fc76
3 changed files with 14 additions and 2 deletions

View file

@ -115,7 +115,7 @@ func (s *EventsStream) Start() error {
}
func (s *EventsStream) Show() error {
for _, e := range s.Session.Events.Events() {
for _, e := range s.Session.Events.Sorted() {
s.dumpEvent(e)
}