Enhancing energy absorption through sequential instabilities in mechanical metamaterials