That function is computing -1 times the module of the eigenvalues. @GunnarFarneback is using it since sortby sorts in increasing order by default (and you want a decreasing order).
Please note that sortby is not compatible with Julia LTS. I am not sure when it was introduced. In Julia 1.0.5 (I just tried) you get the Matlab order by default (in this example).