TableSort is now functional, fixed memory offsets