umd/core/src/compiler/Memory.cpp
static bool CompareDeallocable(const memory::MemoryResolver::DeallocableSurface &i,
                               const memory::MemoryResolver::DeallocableSurface &j)
{
    return i.first < j.first;
}
// if deallocables is a list then use this to sort using list::sort
if deallocables is a list then use this to sort using list::sort
if deallocables is a list then use this to sort using list :: sort
static bool CompareDeallocable(const memory::MemoryResolver::DeallocableSurface &i,
                               const memory::MemoryResolver::DeallocableSurface &j)
{
    return i.first < j.first;
}
static bool CompareDeallocable ( const memory :: MemoryResolver :: DeallocableSurface & i , const memory :: MemoryResolver :: DeallocableSurface & j ) { return i . first < j . first ; }
if deallocables is a list then use this to sort using list::sort
if deallocables is a list then use this to sort using list :: sort