Better use always the array of known methods for sorting

Signed-off-by: emanuele <emanuele45@gmail.com>