Discontinued moved to top of function / version

Gave priority to hiding items w/ IS_DISCONTINUED tag