Jasmin, all I heard about sailfin mollies is that they are little nippers, not totally aggressive, but not all peaceful either. I have one in my tropicals tank, and he never really bothered anybody though...
If the goldfish are bigger than the molly I would give it a try. Just make sure your water doesn't get too cool, sailfins are tropicals and don't do well in cool waters. I personally love the sailfins, they have magnificant finnage!

Oh, and about the food, they eat tropicals food, so it would be hard finding a way to keep the fish from eating each others food....hmmmmm......