posted 16 years ago
Hi Chander,
Natural order of sorting:
1- Sorting numbers 323, 645, 43, 5, 53,2,654
Natural sorting (ascending order): 2,5,43,53,323,645,654
Natural sorting (descending order): 654, 645, 323, 53,43,5,2
2- Sorting characters: C, G, A, F, B, Z, X, T
A,B,C,F,G,X,T,Z
3- Sorting of String:
madan, chander, chandra, madam, carlos
carlos, chander, chandra, madam, madan
I think, if not going so verbose, the given examples make sense to understand the natural sorting order.
[ September 03, 2008: Message edited by: Chandra Bhatt ]