adds multimodel sort support