fix bug sorting
Merge branch 'development' of github.com:imagecms/ImageCMS into development