public ArrayList<Integer> getCursorPositions() {
        ArrayList<Integer> result = new ArrayList<Integer>();

        for (int i = 0; i < getCount(); ++i) {
            result.add(mListMapping.get(i, i));
        }

        return result;
    }
Get the current order of Cursor positions presented by the
list.
third_party/DragSortListView/src/com/mobeta/android/dslv/DragSortCursorAdapter.java