Location sorting now correctly initializes on start