Open ghost opened 7 years ago
It's not currently possible to change the order without modifying the bracket library code. You'd need to call these two lines in the order you want: https://github.com/teijo/jquery-bracket/blob/d3b8ca8ee20d036d547b51679c9d2e7dfd358639/src/jquery.bracket.ts#L1166
When writing chess pairing, white is listed on top with black underneath. I can enter that data in that way ok in jquery-bracket. However, once the results for the first round start to come in it starts listing the winner first instead of white first. How could I add a playerColor attribute and sort on that in each match box?