wood burning stoves 2.0*
The moose likes Servlets and the fly likes Ordering Of  Alphanumeric no in ascending Order Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Ordering Of Alphanumeric no in ascending Order

anandmindmill rai
Greenhorn

Joined: Apr 12, 2006
Posts: 3
I have data with mix number of digits and I like to sort them. Somehow, the
normal sorting process give me a not so desired result. Can anyone help?
Its very important for me.
A10
B100
A2
100
23
AA1
AD200
A1
The result I am looking for is:
A1
A2
A10
B2
B100
AD200
23
100

Thanks and Regards:
Anand
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple places. I'm closing this copy.

Dave.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Ordering Of Alphanumeric no in ascending Order
 
Similar Threads
removing duplicates from the list?
Ordering of AlphaNumeric No. in ascending Order
Garbage collection
Ordering of AlphaNumeric In Ascending Order
Java - Collection of Objects