Adding backend sorting for collections of Type objects