merging names

Is there a way to merge duplicate clients where one is listed as "LastName, FirstName" and the other is listed as "FirstName LastName"? Because of how they were put into the system, they each have separate bills, rather than one combined bill.