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

@jonpday Can you please review?