added trip sorting results and event bus mechanism