Pad entries so they appear in correct order