nl_tokens: Sorting method for multires nodes .
pl_tokens: function multiresNodeSort ( a , b ) { // Base tiles are always first if ( a . level == 1 && b . <mask> != 1 ) { return - 1 ; } if ( b . level == 1 && a . level != 1 ) { return 1 ; } // Higher timestamp first return b . timestamp - a . timestamp ; }