Sortable Array Check
You are given a 0-indexed array of positive integers nums. In one operation, swap any two adjacent elements if they have the same number of set bits (popcount). Return true if you can sort the array in non-decreasing order using these operations, otherwise false.