nl: returns -1 if the first argument is the default working set , 1 if the second argument is the default working set and if the boolean fisotherworkingsetontop is set , to keep the default working set on top while sorting . concode_field_sep boolean fIsOtherWorkingSetOnTop concode_elem_sep Collator fCollator concode_field_sep placeholderType placeHolder
code: int function ( IWorkingSet arg0 , IWorkingSet arg1 ) { if ( fIsOtherWorkingSetOnTop && IWorkingSetIDs . OTHERS . equals ( arg0 . getId ( ) ) ) return - 1 ; if ( fIsOtherWorkingSetOnTop && IWorkingSetIDs . OTHERS . equals ( arg1 . getId ( ) ) ) return 1 ; return fCollator . compare ( arg0 . getLabel ( ) , arg1 . getLabel ( ) ) ; }