How Dolibarr takes best buying price in product's buying price tab

Hi Everyone,

Can anyone explain how Dolibarr takes best buying price in a product buying price tab. I mean if one product has multiple buying price entry from different supplier with the same lowest buying price then which one and how it will be selected as best buying price please?

Thanks
Saikat