Changing airport connection preference algorithm
You can set another location (also called configuration) in the Network preference panel. In the Location1 configuration, you only keep the Wifi1, and do the same with a Location2. (I know this isn't what you're searching for, but it's a workaround).