Fixed sorting not being persistent if filter is used
Implemented working session hash
Fixed minor bug with naming keys in session has