Explanation:
Boiling point is the temperature at which vapor pressure of a liquid becomes equal to the atmospheric pressure.
So, more is the number of carbon atoms present in a compound that are linearly attached to each other more will be its boiling point. This is because then there are more intermolecular forces present in it and also it occupies more surface area.
Hence, in order to break these intermolecular forces more heat is required. As a result, boiling point of the compound increases.
Therefore, we can conclude that given compounds are ranked according to the increasing order in which you would expect them to begin boiling as follows.
Hexane at high altitude < Octane at high altitude < Octane at sea level < Octanol at sea level