absNumericalSort function

int absNumericalSort(
  1. dynamic a,
  2. dynamic b
)

Implementation

int absNumericalSort(a, b) {
  return b[1].abs() >= a[1].abs() ? 1 : -1;
}