Add item to Sortable toArray

Add item to Sortable toArray

Hi,

I have got the toArray to work but when I add a new item to the list with .prepend() the toArray returns a empty spot between the commas where the new item is.

I've tried to: disable, destroy, refresh, refreshPositions and a lot more and it wont work and I'm not finding other people having the same problem either.

Is there anyone out there who knows what I'm doing wrong?

Thanks!