make sort functions static
Merge pull request #141 from gem-sw/CSC-Trigger-Upgrade-GEM-RPC-SLHC11

make sort functions static