This is my code for finding Anagrams, how can I sort "fin" in alphabetical order and how make this code smaller
public class Main { static i