Added compareTo method to Event and RubyTime