Rearrange the order of displaying results