added sorting to courts on start