in reply to Regex on excel
Consider part - split up files according to column value, or one of the implementations in its replies.
These don't have the sorting criteria as regular expressions, but that should be easy to add.