I have requirement to get the latest comment from a Jira issue. I am using rest api `jira/rest/api/2/issue/ASK-101/comment` to get all the comments for a particular issue. I am using jira atlassian version 2.

I update the comment using program so, i found same time stamp for few comments. Like below:

```
{                                              
    "id" : "920608",                            
    "body" : "Test987",                         
    "created" : "2016-04-14T12:25:06.000-0500", 
    "updated" : "2016-04-14T12:25:06.000-0500"  
} , {                                            
    "id" : "920609",                           
    "body" : "Test987",                        
    "created" : "2016-04-14T12:25:06.000-0500",
    "updated" : "2016-04-14T12:25:06.000-0500" 
}               

```

So i can't find the latest comment with the latest timestamp as one timestamp can have multiple comment.  

I see "ID" parameter which seems to be unique. Can i assume higher/max id will have the latest comment?  

Is "ID" unique?  

Does comment rest api guarantee to order comment data in sorted order, can i simply loop in comments array and assume last one is latest.