0

my function return array as following

"66": {
    "student": {
      "studentId": "61",
      }
    },
  "61": {
    "student": {
    "studentId": "61",
    }
}..... and so on

In browser console (Network section) when I am checking Response, I seeing order 66,61 ... and so on, but when I am seeing in Preview is coming as 61,66 ... (it sorting automatically) and even my angular function is a receiving array in sort matter. I do not want this sorting, I looking for exactly same order which my REST function is returning. How to avoid browser auto sorting .

fresher
  • 389
  • 3
  • 16

0 Answers0