Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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
It is sorta covered in the
JavaRanch Style Guide
Rather confused -------External classes!!
Appending two Multidimensional Arrays together
LinkedList & Add Method?
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-2013