TL;DR Install Topological Sort to fix the sorting algorithm. Problem Mage_Weee is a module which is needed in Magento to calculate the so called Waste Electrical and Electronic Equipment Directive. It is a tax in Europe for electronic stuff, so that it