added sortBy() collection method