fix social sort