How can I order an array of results by how much the array's keys is like a specific string. If I have a string like this:
Hello World
And an array:
array(
[0] => "hello word"
[1] => "herro world"
[2] => "beho wors"
I tried using it with the Levenshtein function, but I couldn't get to understand how I could do it. I'm new to PHP.