Doubt abt Inner class using with Collections.

Only doubt i have in above code is that how i can create instance of inner class(MyComparator)at line 15 without creating instance of outer class(SortTest) class.Because MyComparator is inner class at line 38.