This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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 Customer Requirements for Developers this week in the Jobs Discussion 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.
 
 
subject: Ordering Of Alphanumeric no in ascending Order
 
jQuery in Action, 3rd edition