Sorting based on teams & browser width