Sorting and image indices properly, image index: index in dataset, view index: index corresponding to position in view after sorting and filtering
Merge branch 'devel' of github.com:FilipeMaia/CXI into devel