fixed bug in GridView where not maintaining sort order when pagenating
fixed bug where calculating cache timeout instead of statically defining