comefrom: <doocs>1471.The k Strongest Values in an Array_1.py
code: def getStrongest( arr: List[int], k: int) -> List[int]:
      arr.sort()
      m = arr[(len(arr) - 1) >> 1]
      arr.sort(key=lambda x: (-abs(x - m), -x))
      return arr[:k]
masked: def sample_funcname ( var_0 : List [ int ] , var_1 : int ) -> List [ int ] :
      var_0.sort ( )
      var_2 = var_0 [ ( len ( var_0 ) - 1 ) >> 1 ]
      var_0.sort ( var_3 = lambda var_4 : ( - abs ( var_4 - var_2 ) , - var_4 ) )
      return var_0 [ : var_1 ]
  