FIX: sort failed in commands.