Issue with grouping in a view using Views PHP
Consider using a Computed Field on the Session content type to combine


the icon  (conditionally) 
the session number 
the session title


Then you can use that field for the secondary sort, and leave the Global PHP out of the View. Be sure to store the computed field in the database so that Views can access it.