api hook demo, old code, sort save