DICOM Sort is capable of sorting medical images based upon anynumber of values contained within the DICOM header. You're only limited by the data you want to sort.
This software is written in Python and relies heavily upon pydicom and wxPython. As a result, we support Windows, Mac OS X, and any flavor of Linux.
Thanks to your contributions, DICOM Sort is provided free of charge. If you require additional functionality, feel free to request a feature or implement it yourself.