Sort similar pictures from a dataset using Shape descriptors