change sorting type plans