journal entry format

Hi, for journal entries on the exam, does anyone know if it is necessary to put all debits first, then all credits? Also, do they have to be in accending order of amount? My presumption taking the exam was that it didn't matter if I had Dr, cr, dr, Cr, with corresponding amnts. So if I miss points for this i'll never know?!