Scatter chart: xasix category order fail to be unsorted

Hi @michaelyang,

try converting your index into string:

import random
import plotly.graph_objects as go

x = [*range(50)]
random.shuffle(x)
x = [str(item) for item in x]

y = [*range(50)]

fig = go.Figure(
    go.Scatter(
        x=x,
        y=y,
        mode='lines+markers'
    )
)
fig.show()