added comparators for custom order