fixed sorting, toggle