I want to sort a table by name. These should not be alphabetic but the largest id. I have this table.
id name
---|-----|
1 | abc |
2 | abc |
3 | def |
4 | def |
5 | def |
6 | abc |
7 | abc |
8 | def |
That's what i need
id name
---|-----|
8 | def |
5 | def |
4 | def |
3 | def |
7 | abc |
6 | abc |
2 | abc |
1 | abc |
Does anyone have an idea?