Query Sort (Object)
This object can be specify the sort of results.
STRUCTURE
        CODE
    
    {
 "key":"DocumentId", // Type of sort
 "ascending":true // The sort direction is "ascending"
}Available values
- ascending- true
- false
 
- key- SegmentId
- DocumentId
- BeeSegmentId
- Label
- Score
- Text
- LastModification
- Bookmark
- Status
- LastEditor
 
Sort by Segment Id
The doc
        CODE
    
    {
 "key":"SegmentId", // Sort by segment id
 "ascending":true // The sort direction is "ascending"
}
Sort by Document Id
The doc
        CODE
    
    {
 "key":"DocumentId", // Sort by document id
 "ascending":true // The sort direction is "ascending"
}
Sort by BeeSegmentId
The doc
        CODE
    
    {
 "key":"BeeSegmentId", // Sort by BeeSegmentId
 "ascending":true // The sort direction is "ascending"
}
Sort by Label
The doc
        CODE
    
    {
 "key":"Label", // Sort by label
 "ascending":true // The sort direction is "ascending"
}
Sort by Score
The doc
        CODE
    
    {
 "key":"Score", // Sort by score
 "ascending":true // The sort direction is "ascending"
}
Sort by Text
The doc
        CODE
    
    {
 "key":"Text", // Sort by text
 "ascending":true // The sort direction is "ascending"
}
Sort by LastModification
The doc
        CODE
    
    {
 "key":"LastModification", // Last Modification
 "ascending":false // The sort direction is "descending"
}
Sort by Bookmark
The doc
        CODE
    
    {
 "key":"Bookmark", // Sort by bookmark
 "ascending":true // The sort direction is "ascending"
}Sort by Status
The doc
        CODE
    
    {
 "key":"Status", // Sort by status
 "ascending":true // The sort direction is "ascending"
}
Sort by LastEditor
The doc
        CODE
    
    {
 "key":"LastEditor", // Sort by LastEditor
 "ascending":true // The sort direction is "ascending"
}