sort chats, send by id

Refactor to display chats in numerical order.