Added a new admin config to allow for the selection of custom sort attributes

@jonpday Can you please review?
@andrew-dwyer! can you describe the derivation of the name of this variable please?