sort emulator methods