fixed sorting of size buttons