Possible Duplicate:
Sort ArrayList of custom Objects by property
I have an arrayList of String which contains following strings
Common Ruby Errors 45min
Rails for Python Developers lightning
Communicating Over Distance 60min
Accounting-Driven Development 45min
Woah 30min
Sit Down and Write 30min
Now I want to sort the arraylist in descending order according to the number mentioned in each string
i.e. sorted list should look like
Communicating Over Distance 60min
Common Ruby Errors 45min
Accounting-Driven Development 45min
Woah 30min
Sit Down and Write 30min
Rails for Python Developers lightning
Can anyone tell how can I do it?