Sort game in decreasing order

how to pass a variable to a bool compare function my string is sorted according to given question but I’m not able to create a boundary that sorts my game in decreasing order when a salary is greater than x and reject salary which is less than x

@ajayrajsingh_817
refer to this

why are we doing i–

1 Like