Fix missing separator when sorting by notebook

Sorry, missed this initially!