Re-sort lsit on edit if a sorting function exists.
refs openhealthcare/elcid#324
Merge pull request #228 from openhealthcare/324-resort-on-edit

Re-sort lsit on edit if a sorting function exists.