How to sort my go.histogram by ascending/ descending

trace = go.Histogram(
x=df[‘Business field’].sort_values(),
opacity=0.80,
marker=dict(color=[‘Crimson’,‘Chartreuse’,
‘CadetBlue’,
‘BurlyWood’,
‘DeepSkyBlue’,
‘Gold’,
‘LightPink’,‘MediumAquaMarine’,
‘Orchid’,‘SandyBrown’,‘Teal’],line=dict(color=’#000000’, width=2.5)))

data = [trace]
layout = go.Layout(
title=‘Duration of contract based on different program’,
xaxis=dict(title=‘Duration of contract’),
yaxis=dict( title=‘Count’),
template = ‘plotly_white’,
font_size=15,

)
fig = go.Figure(data=data, layout=layout)
iplot(fig)

Just entered this plotly world, have a few questions about this package, first question would be how to order them by acending/descending please, it’s really easy to do with seaborn, but kind of struggling by using plotly though.

thanks a lot guys,

best regards,