/**
 * You are an archaeologist working on a tomb excavation project. The tomb has been found to contain various mummy pieces.
 * Your task is to extract the mummy pieces from the tomb by slicing the tuple starting from the given excavation point.
 * Return the extracted mummy pieces as a new tuple. The tuple of mummy pieces should be sorted in descending order.
 *
 * @param tomb A tuple representing the items found in the tomb.
 * @param excavationPoint An integer representing the index position from where the extraction should begin.
 * @return A new tuple containing the extracted mummy pieces sorted in descending order.
 *
 * Example:
 * val tomb = listOf("amulet", "scarab", "scrolls", "gold mask", "mummy wrappings", "funerary mask")
 * extractMummyPieces(tomb, 3) // Returns: listOf("scrolls", "scarab", "amulet")
 */
fun extractMummyPieces(tomb: List<String>, excavationPoint: Int): List<String> {

    val mummyPieces = tomb.subList(excavationPoint, tomb.size)
    val sortedMummyPieces = mummyPieces.sortedDescending()
    return sortedMummyPieces
}
/**
 * You are an archaeologist working on a tomb excavation project. The tomb has been found to contain various mummy pieces.
 * Your task is to extract the mummy pieces from the tomb by slicing the tuple starting from the given excavation point.
 * Return the extracted mummy pieces as a new tuple. The tuple of mummy pieces should be sorted in descending order.
 *
 * @param tomb A tuple representing the items found in the tomb.
 * @param excavationPoint An integer representing the index position from where the extraction should begin.
 * @return A new tuple containing the extracted mummy pieces sorted in descending order.
 *
 * Example:
 * val tomb = listOf("amulet", "scarab", "scrolls", "gold mask", "mummy wrappings", "funerary mask")
 * extractMummyPieces(tomb, 3) // Returns: listOf("scrolls", "scarab", "amulet")
 */
fun extractMummyPieces(tomb: List<String>, excavationPoint: Int): List<String> {
/**
 * You are an archaeologist working on a tomb excavation project. The tomb has been found to contain various mummy pieces.
 * Your task is to extract the mummy pieces from the tomb by slicing the tuple starting from the given excavation point.
 * Return the extracted mummy pieces as a new tuple. The tuple of mummy pieces should be sorted in descending order.
 *
 * @param tomb A tuple representing the items found in the tomb.
 * @param excavationPoint An integer representing the index position from where the extraction should begin.
 * @return A new tuple containing the extracted mummy pieces sorted in descending order.
 *
 * Example:
 * val tomb = listOf("amulet", "scarab", "scrolls", "gold mask", "mummy wrappings", "funerary mask")
 * extractMummyPieces(tomb, 3) // Returns: listOf("scrolls", "scarab", "amulet")
 */
fun extractMummyPieces(tomb: List<String>, excavationPoint: Int): List<String> {

    val mummyPieces = tomb.subList(excavationPoint, tomb.size)
    val sortedMummyPieces = mummyPieces.sortedDescending()
    return sortedMummyPieces
}