Sort MonD backend into logical order
Sort MonD backend into logical order

As in this patch series every line of code is moved
anyway (when the htools MonD backend was added), we
have the unique chance of moving code around without
creating additional conflicts. Use this opportunity
to sort functions into logical order, i.e., introduce
each function before its first use.

Signed-off-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>
Reviewed-by: Petr Pudlak <9d19625f8ee825a2c398462ed335cbcf98f79c32@google.com>

andir/ganeti,bitemyapp/ganeti,grnet/snf-ganeti,leshchevds/ganeti,grnet/snf-ganeti,onponomarev/ganeti,yiannist/ganeti,dimara/ganeti,ganeti/ganeti,yiannist/ganeti,andir/ganeti,ganeti/ganeti,mbakke/ganeti,onponomarev/ganeti,mbakke/ganeti,yiannist/ganeti,mbakke/ganeti,bitemyapp/ganeti,leshchevds/ganeti,ganeti/ganeti,leshchevds/ganeti,dimara/ganeti,andir/ganeti