By reading the API, it appears that http_build_str() does not URL encode the parameters, while http_build_query() does. http_build_str() also can take either an object OR an object as its primary argument, while http_build_query() only takes an array.
Solution 1 SELECT guid, number FROM table ORDER BY number * 1 DESC
How can I sort this array by the value of the "order" key? Even though the values are currently sequential, they will not always be.