add cleversorting