https://gist.github.com/eyllanesc/4f47e4f59100340b8328438a39011b31
I used this link to generate a QAbstractList and a SortProxyModel over it. I sorted the list with any one attribute using sortdata method in sortproxymodel class. I also need to access some data from that list for some computations in main.qml. console.log(PersonModel.data(1,'value1'))
is the line that I used. Is it wrong?