DEVKIT-1174. Change comparinson of modules for sorting.