javascript - My jQuery's getJSON result is not in order
one text
I have a SQL query which get my playlist ordered by tag and name :
SELECT * FROM playlist WHERE iduser=9 ORDER BY tag,name ASC;
Result :
iduser | idplaylist | name | tag |
---|---|---|---|
9 | PL74A6S2w9aDA-Gdnhb7b58wRSjYo7t9LK | AlphaCast : Table Quest | Comedy |
9 | PL1UBPUKVQV3qV0o9W1Yy0H8krB1IvhC1R | AlphaCast : Baldurs gate 3 | Gaming |
9 | PL1UBPUKVQV3oRu-NanDuXxFxMUR1li9XU | AlphaCast : The Witcher 3 | Gaming |
9 | PLUUOiZvrsOA-vaRZTFWPPd4Xij_LhmePy | Lore Starcraft | Gaming |