A first-of-its-kind analysis reveals that soldiers in the Army are more likely to be locked up ahead of trial for drug offenses than for sexual assault under a system that gives commanders control.