Sort events received
Merge pull request #118 from Serhioromano/sort-events

Sort events received