Reordered function definitions to match declaration order.
Reordered function definitions to match declaration order.

Review: https://reviews.apache.org/r/55803/

abudnik/mesos,asamerh4/mesos,craimbert/mesos,kaysoky/mesos,dforsyth/mesos,reneploetz/mesos,asamerh4/mesos,reneploetz/mesos,asamerh4/mesos,gsantovena/mesos,neilconway/mesos,asamerh4/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,zmalik/mesos,andschwa/mesos,abudnik/mesos,kaysoky/mesos,chhsia0/mesos,chhsia0/mesos,jpeach/mesos,jpeach/mesos,Gilbert88/mesos,reneploetz/mesos,andschwa/mesos,reneploetz/mesos,gsantovena/mesos,Gilbert88/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,verizonlabs/mesos,reneploetz/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,andschwa/mesos,craimbert/mesos,yuquanshan/customizedMesos,craimbert/mesos,zmalik/mesos,gsantovena/mesos,Gilbert88/mesos,dforsyth/mesos,dforsyth/mesos,jpeach/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,gsantovena/mesos,yuquanshan/customizedMesos,gsantovena/mesos,reneploetz/mesos,dforsyth/mesos,verizonlabs/mesos,chhsia0/mesos,jpeach/mesos,verizonlabs/mesos,verizonlabs/mesos,andschwa/mesos,abudnik/mesos,kaysoky/mesos,kaysoky/mesos,dforsyth/mesos,neilconway/mesos,neilconway/mesos,zmalik/mesos,abudnik/mesos,zmalik/mesos,asamerh4/mesos,jpeach/mesos,craimbert/mesos,yuquanshan/customizedMesos,zmalik/mesos,chhsia0/mesos,andschwa/mesos,abudnik/mesos,dforsyth/mesos,asamerh4/mesos,neilconway/mesos,kaysoky/mesos,zmalik/mesos,chhsia0/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,Gilbert88/mesos,kaysoky/mesos,verizonlabs/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,chhsia0/mesos,andschwa/mesos,neilconway/mesos,zmalik/mesos,craimbert/mesos,gsantovena/mesos,andschwa/mesos,jpeach/mesos,verizonlabs/mesos,jpeach/mesos,neilconway/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,neilconway/mesos,chhsia0/mesos,abudnik/mesos,gsantovena/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,Gilbert88/mesos,craimbert/mesos