Skip to main content
URLSearchParams.sort - URL - Web documentation
method URLSearchParams.sort
Private
URLSearchParams.sort(): void

Sort all key/value pairs contained in this object in place and return undefined. The sort order is according to Unicode code points of the keys.

searchParams.sort();

Return Type

void