public static String[] sortStrings(String[] strings, String sens) {
        String temp;
        
        if(sens == "asc" || sens == "desc") {

            for(int i1 = 0; i1 < strings.length; i1++) {

                for(int i2 = 0; i2 < strings.length; i2++) {

                    switch(sens) {

                        case "desc" :
                            if(strings[i2].compareToIgnoreCase(strings[i1]) > 0) {
                                temp = strings[i2];
                                strings[i2] = strings[i1];
                                strings[i1] = temp;
                            }
                            break;

                        case "asc" :
                            if(strings[i2].compareToIgnoreCase(strings[i1]) < 0) {
                                temp = strings[i2];
                                strings[i2] = strings[i1];
                                strings[i1] = temp;
                            }
                            break;
                    }
                }
            }

            return strings;
        }
        
        else return strings;
        
    }