PIM-2585: Redefine proposal sorter
PIM-2585: Add field sorter for mongodb support