Grid sorting from grid query

- Added support for loading grid column sort order from grid query.