All sorting and filtering functions available in the grid are available in automation scripts.