sortedByCompatibility
Returns a Provider giving out APK splits sorted according to their compatibility with the device.
This sort is stable for each APK split type.
The most preferred APK splits will appear first. If exact device's screen density, ABI or Locale doesn't appear in the splits, all nearest matching splits are marked as preferred. All splits tied for best compatibility are marked as preferred.
If an unresolved feature-targeted top-level configuration split ties a base-targeted top-level configuration split by compatibility, the base-targeted one takes precedence.
Result of preference evaluation for every entry of this Provider is written to their isPreferred flag.
This function will call Context.getApplicationContext internally, so it's safe to pass in any Context.