added manual sorting visibility toggle