Reordered production palette according to prerequisites.

This is the continuation of #5927. I reordered all tabs according to build prerequisites. If there are two elements of the same type, I put the allies first, e.g. allied barracks before soviet barracks. I also removed ambiguities of multiple elements in the same tab having the same order number, taking into account both factions.