How do I sort an array of custom classes?
Posted
by Kovu
on Stack Overflow
See other posts from Stack Overflow
or by Kovu
Published on 2010-03-18T20:12:56Z
Indexed on
2010/03/18
20:31 UTC
Read the original article
Hit count: 323
I have a class with 2 strings and 1 double (amount).
class Donator
- string name
- string comment
- double amount
Now I have a Array of Donators filled.
How I can sort by Amount?
© Stack Overflow or respective owner