Do the filenames associated with a DICOM image series (from a single scan) match the spatial ordering? What I mean is if the patient was scanned “head first” is 000000.dcm
No, the file names are rarely associated with the spatial ordering.
The best thing to use is the image position (patient) (0020,0032) and image orientation (patient) (0020,0037) values to get the geometry of each image. From there, you can "order" things how you wish, spatially.
You might want to have a look at these links:
How to compare coordinates of different series 1
How to compare coordinates of different series 2
DICOM attributes used for calculating affine transformation
Recommended reading on DICOM in general and segregation of orientations