Why we need sort sentence inner a batch by length?

I know typically we batch similar length sentence for fewer pad. But still curious about why we need sort sentence descend order in a batch?