Added sorting without LambdaJ for subjects