diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.1_T1.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.1_T1.js
index 13b71e3b83..51d9d9f35b 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.1_T1.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.1_T1.js
@@ -5,11 +5,12 @@
 info: >
     If this object does not have a property named by ToString(j),
     and this object does not have a property named by ToString(k), return +0
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A1.1_T1
 description: If comparefn is undefined, use SortCompare operator
 ---*/
 
-var x = new Array(2); 
+var x = new Array(2);
 x.sort();
 
 //CHECK#1
@@ -20,7 +21,7 @@ if (x.length !== 2) {
 //CHECK#2
 if (x[0] !== undefined) {
   $ERROR('#2: var x = new Array(2); x.sort(); x[0] === undefined. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#3
 if (x[1] !== undefined) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.2_T1.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.2_T1.js
index 485de2ed03..d04fc47ac0 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.2_T1.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.2_T1.js
@@ -6,12 +6,13 @@ info: >
     If this object does not have a property named by
     ToString(j), return 1. If this object does not have a property
     named by ToString(k), return -1
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A1.2_T1
 description: If comparefn is undefined, use SortCompare operator
 ---*/
 
 var x = new Array(2);
-x[1] = 1; 
+x[1] = 1;
 x.sort();
 
 //CHECK#1
@@ -22,7 +23,7 @@ if (x.length !== 2) {
 //CHECK#2
 if (x[0] !== 1) {
   $ERROR('#2: var x = new Array(2); x[1] = 1;  x.sort(); x[0] === 1. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#3
 if (x[1] !== undefined) {
@@ -30,7 +31,7 @@ if (x[1] !== undefined) {
 }
 
 var x = new Array(2);
-x[0] = 1; 
+x[0] = 1;
 x.sort();
 
 //CHECK#4
@@ -41,7 +42,7 @@ if (x.length !== 2) {
 //CHECK#5
 if (x[0] !== 1) {
   $ERROR('#5: var x = new Array(2); x[0] = 1;  x.sort(); x[0] === 1. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#6
 if (x[1] !== undefined) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.2_T2.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.2_T2.js
index 9f87f332da..90f442d569 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.2_T2.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.2_T2.js
@@ -6,18 +6,19 @@ info: >
     If this object does not have a property named by
     ToString(j), return 1. If this object does not have a property
     named by ToString(k), return -1
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A1.2_T2
 description: If comparefn is not undefined
 ---*/
 
 var myComparefn = function(x,y) {
-  if (x === undefined) return -1; 
+  if (x === undefined) return -1;
   if (y === undefined) return 1;
   return 0;
 }
 
 var x = new Array(2);
-x[1] = 1; 
+x[1] = 1;
 x.sort(myComparefn);
 
 //CHECK#1
@@ -28,7 +29,7 @@ if (x.length !== 2) {
 //CHECK#2
 if (x[0] !== 1) {
   $ERROR('#2: var x = new Array(2); x[1] = 1;  x.sort(myComparefn); x[0] === 1. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#3
 if (x[1] !== undefined) {
@@ -36,7 +37,7 @@ if (x[1] !== undefined) {
 }
 
 var x = new Array(2);
-x[0] = 1; 
+x[0] = 1;
 x.sort(myComparefn);
 
 //CHECK#4
@@ -47,7 +48,7 @@ if (x.length !== 2) {
 //CHECK#5
 if (x[0] !== 1) {
   $ERROR('#5: var x = new Array(2); x[0] = 1;  x.sort(myComparefn); x[0] === 1. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#6
 if (x[1] !== undefined) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.3_T1.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.3_T1.js
index b5ee616c27..79a588e4b7 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.3_T1.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.3_T1.js
@@ -5,11 +5,12 @@
 info: >
     If [[Get]] ToString(j) and [[Get]] ToString(k)
     are both undefined, return +0
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A1.3_T1
 description: If comparefn is undefined, use SortCompare operator
 ---*/
 
-var x = new Array(undefined, undefined); 
+var x = new Array(undefined, undefined);
 x.sort();
 
 //CHECK#1
@@ -20,7 +21,7 @@ if (x.length !== 2) {
 //CHECK#2
 if (x[0] !== undefined) {
   $ERROR('#2: var x = new Array(undefined, undefined); x.sort(); x[0] === undefined. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#3
 if (x[1] !== undefined) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.4_T1.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.4_T1.js
index 37882b0446..05b5183aaf 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.4_T1.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.4_T1.js
@@ -5,6 +5,7 @@
 info: >
     If [[Get]] ToString(j) is undefined, return 1.
     If [[]Get] ToString(k) is undefined, return -1
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A1.4_T1
 description: If comparefn is undefined, use SortCompare operator
 ---*/
@@ -20,7 +21,7 @@ if (x.length !== 2) {
 //CHECK#2
 if (x[0] !== 1) {
   $ERROR('#2: var x = new Array(undefined, 1); x.sort(); x[0] === 1. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#3
 if (x[1] !== undefined) {
@@ -38,7 +39,7 @@ if (x.length !== 2) {
 //CHECK#5
 if (x[0] !== 1) {
   $ERROR('#5: var x = new Array(1, undefined); x.sort(); x[0] === 1. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#6
 if (x[1] !== undefined) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.4_T2.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.4_T2.js
index 4c7f9c6c38..b37051e331 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.4_T2.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.4_T2.js
@@ -5,12 +5,13 @@
 info: >
     If [[Get]] ToString(j) is undefined, return 1.
     If [[]Get] ToString(k) is undefined, return -1
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A1.4_T2
 description: If comparefn is not undefined
 ---*/
 
 var myComparefn = function(x,y) {
-  if (x === undefined) return -1; 
+  if (x === undefined) return -1;
   if (y === undefined) return 1;
   return 0;
 }
@@ -26,7 +27,7 @@ if (x.length !== 2) {
 //CHECK#2
 if (x[0] !== 1) {
   $ERROR('#2: var x = new Array(undefined, 1); x.sort(myComparefn); x[0] === 1. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#3
 if (x[1] !== undefined) {
@@ -44,7 +45,7 @@ if (x.length !== 2) {
 //CHECK#5
 if (x[0] !== 1) {
   $ERROR('#5: var x = new Array(1, undefined); x.sort(myComparefn); x[0] === 1. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#6
 if (x[1] !== undefined) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.5_T1.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.5_T1.js
index b7bea4d0d2..334aa6263e 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.5_T1.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A1.5_T1.js
@@ -3,6 +3,7 @@
 
 /*---
 info: If comparefn is undefined, use SortCompare operator
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A1.5_T1
 description: Checking sort() and sort(undefined)
 ---*/
@@ -18,7 +19,7 @@ if (x.length !== 2) {
 //CHECK#2
 if (x[0] !== 0) {
   $ERROR('#2: var x = new Array(1,0);  x.sort(); x[0] === 0. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#3
 if (x[1] !== 1) {
@@ -36,7 +37,7 @@ if (x.length !== 2) {
 //CHECK#5
 if (x[0] !== 0) {
   $ERROR('#5: var x = new Array(1,0);  x.sort(undefined); x[0] === 0. Actual: ' + (x[0]));
-}    
+}
 
 //CHECK#6
 if (x[1] !== 1) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T1.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T1.js
index 0f922c3946..3c726e5fdd 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T1.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T1.js
@@ -6,6 +6,7 @@ info: >
     If ToString([[Get]] ToString(j)) < ToString([[Get]] ToString(k)), return -1.
     If ToString([[Get]] ToString(j)) > ToString([[Get]] ToString(k)), return 1;
     return -1
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A2.1_T1
 description: Checking ENGLISH ALPHABET
 ---*/
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T2.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T2.js
index 528baca2df..446419afa6 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T2.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T2.js
@@ -6,6 +6,7 @@ info: >
     If ToString([[Get]] ToString(j)) < ToString([[Get]] ToString(k)), return -1.
     If ToString([[Get]] ToString(j)) > ToString([[Get]] ToString(k)), return 1;
     return -1
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A2.1_T2
 description: Checking RUSSIAN ALPHABET
 ---*/
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T3.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T3.js
index 1b8d4c3148..c2d329f6a3 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T3.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.1_T3.js
@@ -6,21 +6,22 @@ info: >
     If ToString([[Get]] ToString(j)) < ToString([[Get]] ToString(k)), return -1.
     If ToString([[Get]] ToString(j)) > ToString([[Get]] ToString(k)), return 1;
     return -1
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A2.1_T3
 description: Checking ToString operator
 ---*/
 
 var obj = {valueOf: function() {return 1}, toString: function() {return -2}};
-var alphabetR = [undefined, 2, 1, "X", -1, "a", true, obj, NaN, Infinity]; 
+var alphabetR = [undefined, 2, 1, "X", -1, "a", true, obj, NaN, Infinity];
 var  alphabet = [-1, obj, 1, 2, Infinity, NaN, "X", "a", true, undefined];
- 
+
 //CHECK#1
 alphabetR.sort();
 var result = true;
 for (var i = 0; i < 10; i++) {
-  if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) { 
+  if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) {
     if (alphabetR[i] !== alphabet[i]) result = false;
-  }  
+  }
 }
 
 if (result !== true) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T1.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T1.js
index 85944a6009..537e1be33d 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T1.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T1.js
@@ -3,6 +3,7 @@
 
 /*---
 info: My comparefn is inverse implementation comparefn
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A2.2_T1
 description: Checking ENGLISH ALPHABET
 ---*/
@@ -14,7 +15,7 @@ var myComparefn = function(x,y) {
   var xS = String(x);
   var yS = String(y);
   if (xS < yS) return 1
-  if (xS > yS) return -1;   
+  if (xS > yS) return -1;
   return 0;
 }
 
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T2.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T2.js
index 2be51f8ecb..2c67068aef 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T2.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T2.js
@@ -3,6 +3,7 @@
 
 /*---
 info: My comparefn is inverse implementation comparefn
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A2.2_T2
 description: Checking RUSSIAN ALPHABET
 ---*/
@@ -14,7 +15,7 @@ var myComparefn = function(x,y) {
   var xS = String(x);
   var yS = String(y);
   if (xS < yS) return 1
-  if (xS > yS) return -1;   
+  if (xS > yS) return -1;
   return 0;
 }
 
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T3.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T3.js
index 9a546b227b..ddc5354f08 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T3.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A2.2_T3.js
@@ -3,29 +3,30 @@
 
 /*---
 info: My comparefn is inverse implementation comparefn
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A2.2_T3
 description: Checking ToString operator
 ---*/
 
-var obj = {valueOf: function() {return 1}, toString: function() {return -2}}; 
-var alphabetR = [undefined, 2, 1, "X", -1, "a", true, obj, NaN, Infinity]; 
+var obj = {valueOf: function() {return 1}, toString: function() {return -2}};
+var alphabetR = [undefined, 2, 1, "X", -1, "a", true, obj, NaN, Infinity];
 var alphabet = [true, "a", "X", NaN, Infinity, 2, 1, obj, -1, undefined];
 
 var myComparefn = function(x,y) {
   var xS = String(x);
   var yS = String(y);
   if (xS < yS) return 1
-  if (xS > yS) return -1;   
+  if (xS > yS) return -1;
   return 0;
 }
- 
+
 //CHECK#1
 alphabetR.sort(myComparefn);
 var result = true;
 for (var i = 0; i < 10; i++) {
-  if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) { 
+  if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) {
     if (alphabetR[i] !== alphabet[i]) result = false;
-  }  
+  }
 }
 
 if (result !== true) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A3_T1.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A3_T1.js
index c74278f6ab..11e5ae1d3c 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A3_T1.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A3_T1.js
@@ -5,16 +5,17 @@
 info: >
     The sort function is intentionally generic.
     It does not require that its this value be an Array object
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A3_T1
 description: If comparefn is undefined, use SortCompare operator
 ---*/
 
 var obj = {valueOf: function() {return 1}, toString: function() {return -2}};
 var alphabetR = {0:undefined, 1:2, 2:1, 3:"X", 4:-1, 5:"a", 6:true, 7:obj, 8:NaN, 9:Infinity};
-alphabetR.sort = Array.prototype.sort; 
+alphabetR.sort = Array.prototype.sort;
 alphabetR.length = 10;
 var alphabet = [-1, obj, 1, 2, Infinity, NaN, "X", "a", true, undefined];
-  
+
 alphabetR.sort();
 
  //CHECK#0
@@ -22,13 +23,13 @@ alphabetR.getClass = Object.prototype.toString;
 if (alphabetR.getClass() !== "[object " + "Object" + "]") {
   $ERROR('#0: alphabetR.sort() is Object object, not Array object');
 }
- 
+
 //CHECK#1
 var result = true;
 for (var i = 0; i < 10; i++) {
-  if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) { 
+  if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) {
     if (alphabetR[i] !== alphabet[i]) result = false;
-  }  
+  }
 }
 
 if (result !== true) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A3_T2.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A3_T2.js
index 97f3b3b298..3629053222 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A3_T2.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A3_T2.js
@@ -5,24 +5,25 @@
 info: >
     The sort function is intentionally generic.
     It does not require that its this value be an Array object
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A3_T2
 description: If comparefn is not undefined
 ---*/
 
 var obj = {valueOf: function() {return 1}, toString: function() {return -2}};
 var alphabetR = {0:undefined, 1:2, 2:1, 3:"X", 4:-1, 5:"a", 6:true, 7:obj, 8:NaN, 9:Infinity};
-alphabetR.sort = Array.prototype.sort; 
-alphabetR.length = 10; 
+alphabetR.sort = Array.prototype.sort;
+alphabetR.length = 10;
 var alphabet = [true, "a", "X", NaN, Infinity, 2, 1, obj, -1, undefined];
- 
+
  var myComparefn = function(x,y) {
   var xS = String(x);
   var yS = String(y);
   if (xS < yS) return 1
-  if (xS > yS) return -1;   
+  if (xS > yS) return -1;
   return 0;
 }
-  
+
 alphabetR.sort(myComparefn);
 
  //CHECK#0
@@ -30,13 +31,13 @@ alphabetR.getClass = Object.prototype.toString;
 if (alphabetR.getClass() !== "[object " + "Object" + "]") {
   $ERROR('#0: alphabetR.sort() is Object object, not Array object');
 }
- 
+
 //CHECK#1
 var result = true;
 for (var i = 0; i < 10; i++) {
-  if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) { 
+  if (!(isNaN(alphabetR[i]) && isNaN(alphabet[i]))) {
     if (alphabetR[i] !== alphabet[i]) result = false;
-  }  
+  }
 }
 
 if (result !== true) {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A4_T3.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A4_T3.js
index a47594f9fd..23803d8a03 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A4_T3.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A4_T3.js
@@ -3,6 +3,7 @@
 
 /*---
 info: Check ToLength(length) for non Array objects
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A4_T3
 description: length = -4294967294
 ---*/
@@ -27,12 +28,12 @@ if (obj.length !== -4294967294) {
 //CHECK#3
 if (obj[0] !== "z") {
   $ERROR('#3: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[2] = "x"; obj.length = -4294967294; obj.sort(); obj[0] === "z". Actual: ' + (obj[0]));
-}   
+}
 
 //CHECK#4
 if (obj[1] !== "y") {
   $ERROR('#4: var obj = {}; obj.sort = Array.prototype.sort; obj[0] = "z"; obj[1] = "y"; obj[2] = "x"; obj.length = -4294967294; obj.sort(); obj[1] === "y". Actual: ' + (obj[1]));
-} 
+}
 
 //CHECK#5
 if (obj[2] !== "x") {
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A5_T1.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A5_T1.js
index 0d22934314..b1549f26e6 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A5_T1.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A5_T1.js
@@ -3,6 +3,7 @@
 
 /*---
 info: Array.sort should not eat exceptions
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A5_T1
 description: comparefn function throw "error"
 ---*/
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A6_T2.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A6_T2.js
index 40cc57b603..4b623ca34b 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A6_T2.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A6_T2.js
@@ -3,6 +3,7 @@
 
 /*---
 info: "[[Get]], [[Delete]] from not an inherited property"
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A6_T2
 description: >
     [[Prototype]] of Array instance is Array.prototype, [[Prototype]
@@ -15,25 +16,25 @@ x.length = 2;
 x.sort();
 
 //CHECK#1
-if (x[0] !== 0) {  
-  $ERROR('#1: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x[0] === 0. Actual: ' + (x[0]));    
+if (x[0] !== 0) {
+  $ERROR('#1: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x[0] === 0. Actual: ' + (x[0]));
 }
 
 //CHECK#2
-if (x[1] !== 1) {  
-  $ERROR('#2: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x[1] === 1. Actual: ' + (x[1]));    
+if (x[1] !== 1) {
+  $ERROR('#2: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x[1] === 1. Actual: ' + (x[1]));
 }
 
 x.length = 0;
 
 //CHECK#3
-if (x[0] !== undefined) {  
-  $ERROR('#3: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x.length = 0; x[0] === undefined. Actual: ' + (x[0]));    
+if (x[0] !== undefined) {
+  $ERROR('#3: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x.length = 0; x[0] === undefined. Actual: ' + (x[0]));
 }
 
 //CHECK#4
-if (x[1] !== -1) {  
-  $ERROR('#4: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x.length = 0; x[1] === -1. Actual: ' + (x[1]));    
+if (x[1] !== -1) {
+  $ERROR('#4: Array.prototype[1] = -1; x = [1,0]; x.length = 2; x.sort(); x.length = 0; x[1] === -1. Actual: ' + (x[1]));
 }
 
 Object.prototype[1] = -1;
@@ -43,24 +44,24 @@ x = {0:1,1:0};
 x.sort();
 
 //CHECK#5
-if (x[0] !== 0) {  
-  $ERROR('#5: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); x[0] === 0. Actual: ' + (x[0]));    
+if (x[0] !== 0) {
+  $ERROR('#5: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); x[0] === 0. Actual: ' + (x[0]));
 }
 
 //CHECK#6
-if (x[1] !== 1) {  
-  $ERROR('#6: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); x[1] === 1. Actual: ' + (x[1]));    
+if (x[1] !== 1) {
+  $ERROR('#6: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); x[1] === 1. Actual: ' + (x[1]));
 }
 
 delete x[0];
 delete x[1];
 
 //CHECK#7
-if (x[0] !== undefined) {  
-  $ERROR('#7: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); delete x[0]; delete x[1]; x[0] === undefined. Actual: ' + (x[0]));    
+if (x[0] !== undefined) {
+  $ERROR('#7: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); delete x[0]; delete x[1]; x[0] === undefined. Actual: ' + (x[0]));
 }
 
 //CHECK#8
-if (x[1] !== -1) {  
-  $ERROR('#8: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); delete x[0]; delete x[1]; x[1] === -1. Actual: ' + (x[1]));    
+if (x[1] !== -1) {
+  $ERROR('#8: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.sort = Array.prototype.sort; x = {0:1,1:0}; x.sort(); delete x[0]; delete x[1]; x[1] === -1. Actual: ' + (x[1]));
 }
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A7.7.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A7.7.js
index b843543074..808ef1dbf0 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A7.7.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A7.7.js
@@ -3,6 +3,7 @@
 
 /*---
 info: The sort property of Array can't be used as constructor
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A7.7
 description: >
     If property does not implement the internal [[Construct]] method,
diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A8.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A8.js
index 41dc7b785f..289887f032 100644
--- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A8.js
+++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A8.js
@@ -3,6 +3,7 @@
 
 /*---
 info: Call the comparefn passing undefined as the this value (step 13b)
+esid: sec-array.prototype.sort
 es5id: 15.4.4.11_A8
 description: comparefn tests that its this value is undefined
 flags: [noStrict]
diff --git a/test/built-ins/Array/prototype/sort/bug_596_1.js b/test/built-ins/Array/prototype/sort/bug_596_1.js
index c1fe9e114f..1c6e4d724d 100644
--- a/test/built-ins/Array/prototype/sort/bug_596_1.js
+++ b/test/built-ins/Array/prototype/sort/bug_596_1.js
@@ -2,6 +2,7 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
+esid: sec-array.prototype.sort
 description: >
     The SortCompare abstract operation calls ToString() for  identical
     elements (step 14/15)
diff --git a/test/built-ins/Array/prototype/sort/bug_596_2.js b/test/built-ins/Array/prototype/sort/bug_596_2.js
index c3e5b7cc4f..1fbcd77ceb 100644
--- a/test/built-ins/Array/prototype/sort/bug_596_2.js
+++ b/test/built-ins/Array/prototype/sort/bug_596_2.js
@@ -2,6 +2,7 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
+esid: sec-array.prototype.sort
 description: >
     Array.prototype.sort does not change non-existent elements to
     undefined elements, that means holes are preserved (cf. spec  text
diff --git a/test/built-ins/Array/prototype/sort/name.js b/test/built-ins/Array/prototype/sort/name.js
index d7b9905a95..96dd868c7a 100644
--- a/test/built-ins/Array/prototype/sort/name.js
+++ b/test/built-ins/Array/prototype/sort/name.js
@@ -2,6 +2,7 @@
 // This code is governed by the BSD license found in the LICENSE file.
 
 /*---
+esid: sec-array.prototype.sort
 es6id: 22.1.3.24
 description: >
   Array.prototype.sort.name is "sort".