LPS-35707 - SQL for creating entity mapping table can differ depending on which service.xml is creating it (or in which order)
LPS-35707 SF
LPS-35707 Generated
LPS-35707 LPS-35743 Fix bad sql
LPS-35707 LPS-35743 Sort
LPS-35707 LPS-35743 Fix bad sql for other case