added sorting of uses, moved uses code to manufacture class