Add reverse order in demolist sent by server to client

In senddemo() and cleardemo() functions the order has to be restored.