imgrank with faces. Not sorted

I copyed Anders' slides, but the sorting is not working :-(