Sort related allocations