Move module path length sort after exact match