sessions as a sorted array