add sort in ViewController