R
ryba
Hello
I'm sorry for mistakes - my English isn't very well.
I've got the problem with sorting objects in ArrayList. If I put there only
strings, Sort method works great, but it doesnt work when I put there
objects (even if ToString method is override in object class).
I think that i have to override a comparator in my object class, but even if
it is correc I dont know how to do it...
I'd be very greatfull if Somebody could help me.
I'm sorry for mistakes - my English isn't very well.
I've got the problem with sorting objects in ArrayList. If I put there only
strings, Sort method works great, but it doesnt work when I put there
objects (even if ToString method is override in object class).
I think that i have to override a comparator in my object class, but even if
it is correc I dont know how to do it...
I'd be very greatfull if Somebody could help me.