Question: I would like to show a pdf from a website in my windows rt app (for Desktops with windows 8). How can I handle this?

If I add the file manually to the asset I can display it. But how can I do this with files where are not located on my asset Folder?

* Can I copy the file to the StorageFolder?
* Or can I directly open the file from the website?

Please give me some hints how I can solve this.

THX

Answer: 
JavaScript objects don't have ordering. You should use an array of objects instead.

```
var arr = [
  { id: 'element1' },
  { id: 'element2' },
  { id: 'element3' }
]

```

You could then reorder it something like:

```
var first = arr.splice(0, 1);
arr.push(first);

```

Maybe you could then grab specific elements based on id:

```
var out = arr.filter(function (el) {
  return el.id === 'element1';
});

```
Objects in JavaScript are essentially hash maps. Their properties don't have any ordering, per se. They are simply name value pairs.

You are probably confusing objects with arrays, in which case ordering does indeed matter.