Prioritized sampling for scalable neural network solutions to complex partial differential equations