Does anyone know if product sorting in category view can be done by product rating?

Most sites you see that as a sort option - i.e. sort by price, sort by rating, etc...