fixed broken EventDispatcher mechanism for sorting callbacks order