Allow choice of sort parameter for session stats.