SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         var names = [];
  2.        
  3.         for (var i in reach.var.d.c) {
  4.             names.push(reach.var.d.c[i]);
  5.         }
  6.        
  7.         names.sort((a, b) => {
  8.             if (a.un < b.un) {
  9.                 return 1;
  10.             }
  11.             else if (a.un == b.un) {
  12.                 return 0;
  13.             }
  14.             else {
  15.                 return -1;
  16.             }
  17.         });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top