Add checkbox to activate sort algorithm