public static void sortViewsByLocationOnScreen ( List < ? extends View > views , boolean yAxisFirst ) { Collections . sort ( views , new ViewLocationComparator ( yAxisFirst ) ) ; }
Orders Views by their location on - screen .