Pad with zeros to ensure proper sorting.