Sorts asset map paths to replace by length descending.