Sorting

added sorting methods and the required boolean
the atk sorting needs to include unit_name incase atk stats are the same