School order ruled unconstitutional