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.