public BeanQuery < T > orderBy ( Comparator ... beanComparator ) { this . comparator = new DelegatedSortOrderableComparator ( ComparatorUtils . chainedComparator ( beanComparator ) ) ; return this ; }
Using an array of Comparators applied in sequence until one returns not equal or the array is exhausted .