Generic Helper Update

added ordering method