set correct values in sort filter element