Hard to imagine what algorithm picked that defense.
To be honest, I just had it categorized by highest to lowest salary and had a simulator pick numbers from 1 to 25, if there was no 25th player then then I picked that last one, though you I got really lucky with that defense.