Sorting an array

 import java.util.*;


public class SortArray {
public static void main(String args[]) {
int[] myarray1 = { 1234, 1243, 1112, 4356, 3421, 123, 7654, 34, 987 };
String[] myarray2 = { "Java", "Python", "Php", "c", "c++" };

System.out.println("Original numeric array : " + Arrays.toString(myarray1));
Arrays.sort(myarray1);
System.out.println("Sorted numeric array : " + Arrays.toString(myarray1));

System.out.println("Original string array : " + Arrays.toString(myarray2));
Arrays.sort(myarray2);
System.out.println("Sorted string array : " + Arrays.toString(myarray2));

}

}

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...