menu button for median cut sorting