Removed unused methods now the class uses a recursively method to sort the words