# sortSlides

Description: sort the list of slides by file name.

After sorting, you will receive notifications about the completion of the sort and the modified slide list. If the entire list was sorted without parameters, then a slidesSorted notification will be received; if sorted with parameters, a slidesChunkSorted notification will be received.

Request example:

{
    "method" : "sortSlides",
    "requestId" : "1"
}

Response example:

{
    "method" : "sortSlides",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • requestId - a unique request identifier. You can learn more about it here.

  • fromIndex - the index of the slide from which to start sorting the slides. This parameter is optional. If not provided, by default the entire list will be sorted. If it is provided, then the toIndex parameter must also be present.

  • toIndex - the index of the slide up to which the slides need to be sorted. Optional parameter. If absent, by default the entire list will be sorted. If present, then the fromIndex parameter must also be specified.

See also: