adds styles and sorts scores