absNumericalSort function

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

Implementation

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