fixed sorting notes