I have a database and the following php code:
$result = mysqli_query($link, 'SELECT * FROM database ORDER BY Score DESC');
while ($row = $result->fetch_assoc()) {
printf ("%s;%s\n", $row["Name"], $row["Score"]);
}
The database has rows Name as string and Score also as a string.
The Problem is the Score is not sorted correctly. Why?