Hook sorting into analysis result