added sorting / maintaining sorting across a user session