keep notes sorted