did storyboard for sort function