Prioritize data- attribute

Can you help to prioritize the xpath selection about data- attribute? I did a brief research about target generation mechanism, seems like currently ui.vision prioritize id>hierarchical xpath. Can you help to prioritize data attribute? Following are some documents to explain why data- attribute can be a good source of locator.

There is a large amount of xpaths not saved from ui vision recording, best solution is use external tool to detect xpaths