compareTitle()

Compares 2 titles by splitting the titles into sections where each section is either full of digits or non-digits.

This function is valid in v2.8.0 to v2.13.1. This function has been downloaded 25 times.

Parameters

{string} title1
First title to compare to title2.
{string} title2
Second title to compare to title1.

Returns

{number}
If title1 comes before title2 a negative number will be returned. If title1 comes after title2 a positive number will be returned. In all other cases 0 will be returned.