A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Joined: Nov 23, 2006
Nov 23, 2006 13:03:00
I have an array which contains a mixture of strings and numbers representing an address line. For example "20 Main Street" etc
I have found examples of functions which sort alphabetically or which sort numerically. Using the alphabetic sort would mean that for example "16 Main St", would come before "2 Main Street".
Does anyone have an example of a function which would sort this kind of mixed data satisfactorily?
Thanks in advance
Author and ninkuma
Joined: Jan 10, 2002
Nov 23, 2006 19:44:00
Asking smart questions
Books by Bear
rocket mass heater
LinkedList & Add Method?
Rather confused -------External classes!!
Appending two Multidimensional Arrays together
Help needed in how to update info in a randomaccessfile
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014