added sorting of pref images
changed profile header layout