Invalid sort index caused quick menu to fail