implementing .order properly