sort content by type and various fixes mostly responsiveness