0

I have a couple of Strings which are times:

fe: value could be:

"10:22:27.5528485+05:30"
"11:22:27.552"
"14:22:27"

I want to sort these Strings from oldest to latest... Anyone has an idea?

Thanks

user1345883
  • 451
  • 1
  • 8
  • 24

1 Answers1

0

As per this previous SO question, you will have to change those strings into their equivalent date time components and them sort them as dates.

Community
  • 1
  • 1
npinti
  • 51,780
  • 5
  • 72
  • 96