Fixed the ordering of the vegtypes with the function calls and the output to the proper order