Aria
If I say "the work of months" instead of "months of work", does it sound awkward?

Yes, it would sound unnatural to say "the work of months" instead of "months of work". Usually the object should always come at the end of a sentence in English. In this case, "work" is the object here, so it should be placed at the end of the sentence, otherwise it will sound weird.