Fixed EventExecutor compareTo() method
- Fixed getByIndex() using <= 0
- Fixed API leak
- Formatting
Signed-off-by:thehutch <52d5ad14@opayq.com>