property use the updated sort algorithm when rebuilding a case via UI

http://manage.dimagi.com/default.asp?146043
Merge pull request #4757 from dimagi/case_rebuild_action_order

property use the updated sort algorithm when rebuilding a case via UI