Sort misc entities/tables