Sorting an ArrayList

 import java.util.*;


public class SortEleOfArraylist{
public static void main(String args[]){
ArrayList<String> colors = new ArrayList<String>();
colors.add("Violet");
colors.add("Indigo");
colors.add("Green");
colors.add("Yellow");
colors.add("Orange");
colors.add("Red");

Collections.sort(colors);
System.out.println("The sorted Array is :"+colors);
// for(String i : colors)
// System.out.println(i);
}
}

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...