Further implementation on the sorting. Added some Session and Querystring key value classes to reduce weak typing also