public function sortByKeyFilter($input, $filter, $direction = SORT_ASC, $sort_flags = SORT_REGULAR)
    {
        return Utils::sortArrayByKey($input, $filter, $direction, $sort_flags);
    }
public function sortByKeyFilter($input, $filter, $direction = SORT_ASC, $sort_flags = SORT_REGULAR)
    {
        return Utils::sortArrayByKey($input, $filter, $direction, $sort_flags);
    }
public function sortByKeyFilter ( $ input , $ filter , $ direction = SORT_ASC , $ sort_flags = SORT_REGULAR ) { return Utils :: sortArrayByKey ( $ input , $ filter , $ direction , $ sort_flags ) ; }
Sorts a collection by key

@param  array    $input
@param  string   $filter
@param  int      $direction
@param  int      $sort_flags

@return array
Sorts a collection by key