Update lib/Grid/Advanced.php

call model->setOrder if such method for Model (not only DSQL and Model_Table) is defined.