i have created an object with the content of points and the mark you will get with
marks: {
900: 1.0,
822: 1.1,
804: 1.2,
786: 1.3,
768: 1.4,
750: 1.5,
732: 1.6,
714: 1.7,
696: 1.8,
678: 1.9,
660: 2.0,
588: 2.4,
570: 2.5,
552: 2.6,
534: 2.7,
516: 2.8,
498: 2.9,
480: 3.0,
462: 3.1,
444: 3.2,
426: 3.3,
408: 3.4,
390: 3.5,
372: 3.6,
354: 3.7,
336: 3.8,
318: 3.9,
300: 4.0
},
if i show the object in the console the output will be
Object { 300=4, 318=3.9, 336=3.8, more...}
you can see it live on http://jsfiddle.net/Sx4Z2/
whats wrong and why is there an order in an object?