When calling sort(function) in Javascript on an iPhone it doesn't seem to sort. For example:
devices.sort(function(a, b) {
return a.name > b.name;
});
Are there some known limitations or can someone help me how to do this on an iPhone. It seems to work fine in Chrome, IE, Firefox.