mandatory minimum

How can a person who commits murder or rapes a child receive lesser time than an individual who is charged with a low-level drug offense?