fixed resolved sorting and added team stats view