[]
Serializable, Comparable<SortDataOption>, ConstableUse this enum with a value-based sort field to control whether text that looks like numbers is sorted as numeric data or whether numeric and text values are sorted separately.
worksheet.getRange("A1:A4").setValue(new Object[][] {
{"Value"},
{"10"},
{"2"},
{3}
});
ValueSortField sortField = new ValueSortField(worksheet.getRange("A2:A4"));
sortField.setDataOption(SortDataOption.TextAsNumbers);
Enum.EnumDesc<E extends Enum<E>>static SortDataOptionstatic SortDataOption[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null