rank_compare_func
Description:
Compares the two given PluginFeature instances.
This function can be used as a SearchFunc when sorting by rank and then by name.
Parameters:
p1 | |
p2 |
Returns:
negative value if the rank of p1 > the rank of p2 or the ranks are equal but the name of p1 comes before the name of p2; zero if the rank and names are equal; positive value if the rank of p1 < the rank of p2 or the ranks are equal but the name of p2 comes before the name of p1 |