I have an array with elements
@a =(mem_64x128,mem_8x64,mem_8x128,mem_128x64);
I want the array to be sorted in the following manner
mem_8x64,mem_8x128,mem_64x128,mem_128x64
But when I sort @a
, the output I get is
mem_128x64
mem_64x128
mem_8x64
mem_8x128
Can anyone please help. Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…