Shopify - Sort products in collection by best selling ones

Hello everybody,
I have question - is it possible to sort products in collection by best selling? If yes, how it can be done?