Restrict sort_by to only valid options. The array can be added to as more radical sort schemes are devised.