@steelblaidd As a programmer if someone asked me to give them a "human sort" I would ask them for more information. "Just sort it as a human would", is way too ambiguous since there are literally millions of ways a human would sort it and everyone's "human sort" could be different.
Also please note that the only thing that is changing is the comparator (comparison method, routine, function, procedure, operation, whatever you want to call it because different programming languages call it different things) and the main sorting algorithm could and would most likely stay the same (bubble sort, quick sort, merge sort, etc.) However most non programmers wouldn't realize this so this point really is not that important so long as the programmer understands what the person requesting the change really wants.
Sort by series and volume number would be ideal, but if the publisher did not include that info in the metadata of the file then sorting by alphabetical title until you see a number would be a backup. Also remember that the more complex you make the comparison function the more time the sort will take. It won't be noticeable sorting 100 books but sorting thousands of books it will definitely be noticeable.