instance_select_filter_sort

Syntax:

instance_select_filter_sort(obj_or_instance_or_array_of_them, variable_name, condition_string, condition_value, sort_variable_name, [ascending]);
Argument name Type Description
obj_or_instance_or_array_of_them array|instance|object The instances, objects, or combination of them
variable_name string variable name as a string (which value will be used for testing)
condition_string string Condition to check for. See description for more info.
condition_value any The value to compare to.
sort_variable_name string The name of the variable to use for sorting the values
ascending boolean If true, (the default) the values will be sorted in ascendent order

Returns: (array) The array with the instances

Description:

Returns an array of instances that is the combination of perform: instance_select_filter and then instance_select_sort

For more info, please reffer to instance_select_filter and instance_select_sort