Question: This is a Matlab question. 

I have an array of numbers. Some of them correspond to actual signal, the others correspond to noise. I know that

* The numbers corresponding to an actual signal are all negative.
* The magnitude of the noise are all much smaller than that of any signal value.

How can I sort my array so that

* The values that corresponds to actual signals all come *before* the noise values.
* The order of the values that corresponds to actual signals are determined by their original ordering in the given array.

For example 

```
input = [-0.0002, -0.00058, -0.28, -0.0008, -0.25,-0.0006,-0.00004,-0.26]
output = [-0.28, -0.25, -0.26, -0.0002, -0.00058,-0.0008, -0.0006,-0.00004]

```

Answer: 
IE is famous for caching. Make sure you are not getting a cached response. You can either set the `cache` property value to `false` or add a unique timestamp to the url so that it will not be a cached response. You may use the [`$.now()`](http://api.jquery.com/jQuery.now/) method to get a unique timestamp.

**Setting the cache property**

```
$.ajax(url, {
    dataType: 'json',
    cache : false,
    //Other things ...
}

```

**Adding a unique timestamp to URL**

```
var url="somePage.php?"+$.now();
//Use this url now for making the ajax call

```

The `$.now()` method is a shorthand for the number returned by the expression `(new Date).getTime()`
I know this thread is old, but just as an extra check for those that encounter this issue, check that your Trusted Sites Zone settings allow access across domains. The first setting under "Miscellaneous" is the setting you want.

Set "Access data sources across domains" to "Enable".