Function __global->sort_maps_by__strlen

Definitions

sources/global3.php

  • Sort a list of maps by the string length of a particular key ID in the maps.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$rows array required parameter N/A N/A List of maps to sort
$sort_key mixed required parameter N/A N/A Either an integer sort key (to sort by integer key ID of contained arrays) or a String sort key (to sort by string key ID of contained arrays)