sort topic by created time