sort locations when they are auto-populated in displayed locations