Activate sort buttons initially based on sort values