import java.util.Arrays;
import java.util.Calendar;
import java.util.Collections;
import java.util.GregorianCalendar;
import java.util.List;

public class HelloCollectionsSorting {
	
	//TODO: SORTING COLLECTIONS, SORTING ARRAYS, COMPARATORS, WHAT ELSE?
	//LOOK AT DATA TYPES IN MY SORTING.DOC
	//TODO: EXAMPLE WITH A COMPARATOR
	
	static Byte[] bytes = {26, 10, 11, 1};
	static String[] words = {"zzz", "mmm", "qqq", "aaa"};
	static Calendar[] dates = {
			new GregorianCalendar(2017, 12, 31), 
			new GregorianCalendar(2017, 10, 1),
			new GregorianCalendar(2017, 11, 31),
			new GregorianCalendar(2017, 1, 1)};
	
	public static void main(String...args) {
		System.out.println("Hello Collections Sorting!");

		List<Byte> listBytes = Arrays.asList(bytes);
		System.out.println(listBytes);
		System.out.println("---------------");
		Collections.sort(listBytes); System.out.println(listBytes);

		System.out.println("==========");

		List<String> listStrings = Arrays.asList(words);
		System.out.println(listStrings);
		System.out.println("---------------");
		Collections.sort(listStrings); System.out.println(listStrings);

		System.out.println("==========");

		List<Calendar> listDates = Arrays.asList(dates);
		for (Calendar date : listDates) {
			System.out.println(date.getTime().toString()); // THIS IS BUGGY
		}
		System.out.println("---------------");
		Collections.sort(listDates);
		for (Calendar date : listDates) {
			System.out.println(date.getTime().toString()); // THIS IS BUGGY
		}

		System.out.println("==========");

	}
}

@@ -178,13 +178,16 @@
 g %7B%0A
-%09%0A%09
+%0A    
 //
+ 
 TODO
@@ -249,19 +249,23 @@
 T ELSE?%0A
-%09
+    
 //
+ 
 LOOK AT 
@@ -297,11 +297,15 @@
 DOC%0A
-%09
+    
 //
+ 
 TODO
@@ -332,19 +332,21 @@
 PARATOR%0A
-%09%0A%09
+%0A    
 static B
@@ -360,16 +360,17 @@
 ytes = %7B
+ 
 26, 10, 
@@ -374,20 +374,24 @@
 0, 11, 1
+ 
 %7D;%0A
-%09
+    
 static S
@@ -407,16 +407,17 @@
 ords = %7B
+ 
 %22zzz%22, %22
@@ -434,20 +434,24 @@
 %22, %22aaa%22
+ 
 %7D;%0A
-%09
+    
 static C
@@ -469,20 +469,17 @@
 ates = %7B
-%0A%09%09%09
+ 
 new Greg
@@ -507,20 +507,16 @@
 2, 31), 
-%0A%09%09%09
 new Greg
@@ -539,27 +539,36 @@
 17, 10, 1),%0A
-%09%09%09
+            
 new Gregoria
@@ -591,20 +591,17 @@
 11, 31),
-%0A%09%09%09
+ 
 new Greg
@@ -629,14 +629,17 @@
 , 1)
+ 
 %7D;%0A
-%09%0A%09
+%0A    
 publ
@@ -671,16 +671,17 @@
 g...
+ 
 args) %7B%0A
 %09%09Sy
@@ -676,18 +676,24 @@
 args) %7B%0A
-%09%09
+        
 System.o
@@ -731,26 +731,32 @@
 orting!%22);%0A%0A
-%09%09
+        
 List%3CByte%3E l
@@ -784,26 +784,32 @@
 ist(bytes);%0A
-%09%09
+        
 System.out.p
@@ -823,26 +823,32 @@
 listBytes);%0A
-%09%09
+        
 System.out.p
@@ -866,34 +866,40 @@
 ------------%22);%0A
-%09%09
+        
 Collections.sort
@@ -910,16 +910,24 @@
 tBytes);
+%0A       
  System.
@@ -947,26 +947,32 @@
 istBytes);%0A%0A
-%09%09
+        
 System.out.p
@@ -990,26 +990,32 @@
 =======%22);%0A%0A
-%09%09
+        
 List%3CString%3E
@@ -1047,26 +1047,32 @@
 ist(words);%0A
-%09%09
+        
 System.out.p
@@ -1092,18 +1092,24 @@
 rings);%0A
-%09%09
+        
 System.o
@@ -1131,34 +1131,40 @@
 ------------%22);%0A
-%09%09
+        
 Collections.sort
@@ -1177,16 +1177,24 @@
 trings);
+%0A       
  System.
@@ -1220,18 +1220,24 @@
 ings);%0A%0A
-%09%09
+        
 System.o
@@ -1263,18 +1263,24 @@
 ===%22);%0A%0A
-%09%09
+        
 List%3CCal
@@ -1316,26 +1316,32 @@
 ist(dates);%0A
-%09%09
+        
 for (Calenda
@@ -1354,35 +1354,44 @@
  : listDates) %7B%0A
-%09%09%09
+            
 System.out.print
@@ -1442,14 +1442,26 @@
 GGY%0A
-%09%09%7D%0A%09%09
+        %7D%0A        
 Syst
@@ -1495,18 +1495,24 @@
 ----%22);%0A
-%09%09
+        
 Collecti
@@ -1532,18 +1532,24 @@
 Dates);%0A
-%09%09
+        
 for (Cal
@@ -1578,11 +1578,20 @@
 ) %7B%0A
-%09%09%09
+            
 Syst
@@ -1654,15 +1654,27 @@
 GGY%0A
-%09%09%7D%0A%0A%09%09
+        %7D%0A%0A        
 Syst
@@ -1708,9 +1708,48 @@
 );%0A%0A
-%09
+        // TODO: Complete this Kata%0A    
 %7D%0A%7D%0A

Update HelloCollectionsSorting.java