Prime minister Manmohan Singh has asked two of his ministers, Home Minister Shivraj Patil and Health Minister Anbumani Ramadoss, to sort out their differences on the issue of legalising homosexuality, which has caused an embarrassing divide within the government.