Free up sort from inline to allow overriding.