Adding first and last ordering methods