Added Hardcoded and regular event sortin feature.

Hardcoded events work no problem for testing, and regular ones work
sometimes.