This question must be answered carefully. For instance, aluminium will float on water if it is in the form of a thin sheet and is spread complete flat on the surface. Otherwise it will sink. In the case of mahogany, there are some types that will float - those that have a specific gravity of less than 1.0 - and others that will sink.
Hardwood generally you might say floats with difficulty, much of it submerged below water. Pine will float. Rubber will float because its density is far less than that of water. It is the density and buoyancy of an object that determines whether it will sink or float in water. If an object's density is less than water, it will float. So the correct answer to this question is that all will float, given the parameters I have listed above.