A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
I agree. Here's the link:
Help needed in how to update info in a randomaccessfile
Appending two Multidimensional Arrays together
Rather confused -------External classes!!
LinkedList & Add Method?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014