tools: sort: Fix build failure