Question: I'm sorting dictionary with float values to ascending order. Here's my code

```
dicdata = {'mike': 15.12, 'jenny': 2.53, 'glenn' : 5.16, 'Meo': 1.01}

sorted_dicdata = sorted(dicdata.items(), key=operator.itemgetter(1), reverse=True)

```

The output is not accurate. it gives me
glenn:5.16
mike:15.12
jenny:2.53
meo:1.01
How can i fix this?

Answer: 
The following code works if you want from decimal to the ascending order

```
    >>> import operator
    >>> print sorted(dicdata.items(), key=operator.itemgetter(1))
    [('Meo', 1.01), ('jenny', 2.53), ('glenn', 5.16), ('mike', 15.12)]

```
Way I found - convert dict to pandas series, sort, and convert back.

```py
import pandas as pd

series = pd.Series(dictionary)
series.sort_values(axis=0, ascending=False, inplace=True, kind='quicksort', na_position='last', ignore_index=False, key=None)
series.to_dict()

```