Test modify sort and validation of list parameters