Team sorting and display implemented