O
Oliver Block
Hi,
can anyone if it is enough to place the elements of a structure in a
different order when you want to sort it.
for example sort by name:
struct item 1 {
String name;
int age;
}
or otherwise sort by age:
struct item 2 {
int age;
String name;
}
I never used that routine. Would that work and are there better ways?
bye,
Oliver
can anyone if it is enough to place the elements of a structure in a
different order when you want to sort it.
for example sort by name:
struct item 1 {
String name;
int age;
}
or otherwise sort by age:
struct item 2 {
int age;
String name;
}
I never used that routine. Would that work and are there better ways?
bye,
Oliver