Revert "Motherless sorting ,groups , galleries implemented"

This reverts commit f7cf2ad75ee62dc4ee67f2de4c5cd3a604c1e4d1.
Motherless sorting, groups, galleries implemented