Click to See Complete Forum and Search --> : sorting objects


May 4th, 2000, 01:17 PM
Hi

Could anyone tell me how to Sort Objects. My object basically contains int, string, date, double values. I know the column
names that i am supposed to sort on, and also the type of the columns. the sort can be on any number of columns. I am using
java 1.1.6

Thanks K

norfarm
May 4th, 2000, 10:18 PM
send me what code u have and I will fix your problem.

mke

norfarm@primus.com.au

sush
May 5th, 2000, 10:00 AM
Try using the Collections API (java.util package) They have some algorithms also specified.Chech'em out

Sushma

R.Saravanan
May 5th, 2000, 11:07 PM
Or try the JGL library. ( http://www.objectspace.com/products/prodJGL.asp )