Possible Duplicate:
HTML5 local storage sort
I am storing data into a localstorage using HTML5 I need to have it sort in the order I put them in. Originally, I had them start with Q: and then appended data to it. I found out taht when I retrieved the data, it did not come out in the same order I entered them in. I then did someting like 1Q:.., 2Q:.. + ..
but found that it again did not sort in the order I needed them in.
localStorage.getItem(... )
Wondering how I can tell it what sort order to retrieve the data in?
I have the key as such:
1Q:fdf
2Q:dfdf
3Q:dfdf
For the value is is random values. I as hoping that having the key in a certain order may make it work.