in reply to question on data structure
Use the date stamp to index the events.
Neil Watson watson-wilson.ca