Fix crash when sorting before ever having loaded content