set_sort_method

Selects method for sorting files for ingestion.

Member of namespace

mvscan

Syntax

bool set_sort_method (string method)

Parameters

method
Type: string
Sort method can be either DATE (default) or NAME. The parameter is not case sensitive.

Returns

Always True.

Level

Batch level Open event only.

Details

The scan action takes snapshots of the input folder, sorts the files by either date last modified (default) or by filename, and then tries to ingest the files in that order. This action allows you to override the default sort order.
Example:
set_sort_method("NAME")
Scan()         

This sequence ingests files in alphabetical order.