Sorting date using BeanComparator
I am new to this forum. I want to sort dates according to date,month and year using BeanComparator. My code is like this. But it will sort based on date without considering month and year.
Please help me out to solve this problem
Re: Sorting date using BeanComparator
I'm not sure I understand the problem (sorting by dates works for me). I recommend you post an SSCCE that clearly demonstrates the problem (and please use the code tags when doing so), describing the behavior you want vs the behavior you see.
Edit: and please don't double post. Your other post has been deleted.