different sort in play scala