Sorting a TArray of structs

TArray has a function for sorting

In order to work with your struct or class you need to override > operator that should declere if inputed A is bigger the B, then soft function to the rest with help of that operator