[sc-memory] Implement extensions load priority (#147)