arrange chatlog in order of receipt and sent time(#9)

- add insertBefore process in changeView method