#NEWLINE# def order( self , na_last = None , ascending = True , kind = 'quicksort' , na_position = 'last' , inplace = False ) : #NEWLINE# #INDENT# "\n        DEPRECATED: use :meth:`Series.sort_values`\n\n        Sorts Series object, by value, maintaining index-value link.\n        This will return a new Series by default. Series.sort is the equivalent\n        but as an inplace method.\n\n        Parameters\n        ----------\n        na_last : boolean (optional, default=True)--DEPRECATED; use na_position\n            Put NaN's at beginning or end\n        ascending : boolean, default True\n            Sort ascending. Passing False sorts descending\n        kind : {'mergesort', 'quicksort', 'heapsort'}, default 'quicksort'\n            Choice of sorting algorithm. See np.sort for more\n            information. 'mergesort' is the only stable algorithm\n        na_position : {'first', 'last'} (optional, default='last')\n            'first' puts NaNs at the beginning\n            'last' puts NaNs at the end\n        inplace : boolean, default False\n            Do operation in place.\n\n        Returns\n        -------\n        y : Series\n\n        See Also\n        --------\n        Series.sort_values\n        " #NEWLINE# warnings . warn ( 'order is deprecated, use sort_values(...)' , FutureWarning , stacklevel = 2 ) #NEWLINE# return self . sort_values ( ascending = ascending , kind = kind , na_position = na_position , inplace = na_position )