File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
wood burning stoves
 
subject: Ordering Of Alphanumeric no in ascending Order
 
Similar Threads
Garbage collection
removing duplicates from the list?
Ordering of AlphaNumeric In Ascending Order
Java - Collection of Objects
Ordering of AlphaNumeric No. in ascending Order