                                                         style: UIBarButtonItemStyle.Plain,
                                                        target: self,
                                                        action: #selector(TrackTableViewController.favPlaylist))
-
+        let reorderButton             = UIBarButtonItem(image: UIImage(named: "edit"),
+                                                        style: UIBarButtonItemStyle.Plain,
+                                                       target: self,
+                                                       action: #selector(TrackTableViewController.reorder))
         navigationItem.rightBarButtonItems  = [showFavListButton]
         if playlistType != .Playing {
             navigationItem.rightBarButtonItems?.append(favPlaylistButton)
+        }
+        if playlistType == .Favorite {
+            navigationItem.rightBarButtonItems?.append(reorderButton)
         }
     }
 

        }
    }

    override func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool {
        return true
    }


                if self.playlist == playlist {
                    self.tableView.reloadData()
                }
            case .SharedListUpdated: break
            }
            return
        })
