	protected function sort(&$rowsKey, $sortColumn) {
		$sortMethod = $this->getTableSortMethod();
	
		if ($sortColumn < 0) {
			switch ($sortMethod) {
				case 'natural':
					// Reverse natsort()
                    uasort($rowsKey, function($first, $second) {
                    	return strnatcmp($second, $first);
					});
					break;
				case 'standard':
				default:
					arsort($rowsKey);
					break;
			}
		} else {
			switch ($sortMethod) {
				case 'natural':
				natsort($rowsKey);
				break;
			case 'standard':
			default:
				asort($rowsKey);
				break;
			}
		}
	}
The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.