Created sorted salaries array for optimal lineup solver