There was an app for this at one time.
You input info for all your cards. when you went to make a purchase you could put in info with store and amount and it would suggest the best card to use.
unfortunately the app was pulled from the store and hasn't returned, at least that I'm aware of. can't recall the name of it.