Section 21. Appeal or revision

21. For the purposes of appeal and revision under the Code of Criminal Procedure, 1898, an order of detention under section 6 of this Act shall be deemed to be a sentence of imprisonment for the same period.