Sort:  

Thanks a lot for sharing this here , very clear explanation.Always good to re brush on my java :D