can u give me the example of implementing comparator with two ordering ?
Type: Posts; User: sunilshiwankar
can u give me the example of implementing comparator with two ordering ?
A Employee Class with fields of name , age , address, salary and want to sort the objects lists by there salary and also by there name (Two way sorting on a same custom class) using comparator or...
A Employee Class where i want to sort there lists one by there salary and one by there name individually as per the requirement ? How we do it?