Hi,
I've data in txt file with these format:
UserID:1
January 20points
Dec 30points
March 10 points
February 10point
UserID:2
Feb 10 points
Dec 10points
Nov 20points
How can I sort (ascending)this data with this format:
UserID:1
January 20points
February 10point
March 10 points
Dec 30points
UserID:2
Feb 10 points
Nov 20points
Dec 10points
I have tried using the collection.sort but it sort my data in a long line.