Add sp_application sorters
Merge branch 'rails3' of github.com:thelabtech/common_engine into rails3