make it work with scopes and filters

I use activadmin scopes and sortable worked bad with them. With this pull request it uses real items positions instead ui.item.index(). It make gem work good with scopes and filters.