# table.SortDesc

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/table.SortDesc
- **Çeviri tarihi:** 2025-09-08

```lua
table.SortDesc( table tbl )
```

## Açıklama

Bir tabloyu [table.sort](https://gmod.tr/wiki/table.sort) fonksiyonunun tersi şeklinde sıralar.

> **NOT:** Bu fonksiyon, verdiğiniz tabloyu değiştirir. table.sort gibi, herhangi bir şey döndürmez.

## Argümanlar

1. [table](https://gmod.tr/wiki/table) **tbl**: Azalan sırada sıralanacak tablo.

### Örnek

```lua
local tbl = {
    20,
    10,
    50,
    30,
    40,
}

table.SortDesc(tbl)
PrintTable(tbl)
```

**Çıktı:**

```lua
1	=	50
2	=	40
3	=	30
4	=	20
5	=	10
```

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/table.SortDesc
