Standalone Timer: Added timing function

Added functions to sort and modify events