Applied a fix for sort.toggleStatus running when sort is disabled.