I really didn't see the code of Amethyst, but something that I learned.
Searching and sorting of events can become very very fast for json objects (complexity is O(1)) which are indexed with a unique key that can be hand made that Amethyst makes for each incoming event. ( Added for internal processing for Amethyst).