Hi, i want to try to make a program that reads from file and shows the frequency of the words in that file. I want to sort the frequency of the words acsending. But this i want done after it has been read from the file using a Comparator. Anyone that can help me with this :)

You need to make an effort on your own before people here will help you. Have you written any code? If not, give it a try yourself. When you have some code and you are stuck, then post the code along with a more specific question.