Base engine and API for NodeSort