Generic Sorter

Vertical layout class. Given x=2, sort:
score = {{spearman | number:2}}

Given x=-2, sort:
score = {{score | number:2}}


Many correct answers.
Horizontal layout class.
Given x=0, sort:

No order check at all on this one: