Solved by snehankekre in post #2 
              
              
                Hi @Andyton85  
You’re right! You can call pandas’ .sort_values() function on your DataFrame like this example: 

Solution
import streamlit as st
import pandas as pd

@st.experimental_memo
def load_data():
    companies = [
        "Google",
        "Apple",
        "Facebook",
        "Facebook",
 …