add session for sort