Hello Jeewana,
Based on Sort sequence and Search stretegy assigned in MBC1 will select batches.
If you want to select the batches based on shelf life please use Characteristic LOBM_VFDAT.It will select based on Prodution date.Also please ensure to enable in Plant storage data.
Thanks
KB