Add some custom sort functions, .e.g to sort by IP address.