Definitionپێناسە
Putting items in a fixed order, for example numbers from the smallest to the largest (), the newest files first () or names in alphabetical order. A , a and many other programs can sort .
دانانی شتەکانە بە ڕیزبەندییەکی دیاریکراو، بۆ نموونە ژمارەکان لە بچووکترینەوە بۆ گەورەترین ()، نوێترین فایلەکان لە سەرەتادا () یان ناوەکان بەپێی ئەلفوبێ. ، و زۆر بەرنامەی تر دەتوانن ڕیز بکەن.
Exampleنموونە
In PHP, sort() and rsort() sort an array by value, asort() and arsort() sort by value but keep the keys, and ksort() and krsort() sort by key. Here asort() sorts by age but keeps each name with its age.
لە PHPـدا sort() و rsort() بەپێی نرخ ڕیز دەکەن، asort() و arsort() بەپێی نرخ ڕیز دەکەن و کلیلەکان دەپارێزن و ksort() و krsort() بەپێی کلیل ڕیز دەکەن. لێرەدا asort() بەپێی تەمەن ڕیز دەکات، بەڵام هەر ناوێک لەگەڵ تەمەنەکەی دەهێڵێتەوە.
$ages = ["Aram" => 22, "Hana" => 19, "Rezan" => 25];
asort($ages);
print_r($ages); // [Hana] => 19, [Aram] => 22, [Rezan] => 25Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
سۆرتکردن، ڕێککردن، فەرز، هاوپۆل کردن، ڕیزکردنەکە، ڕیزکردنەکان، ڕیزکردنێک، ڕیزکردنی، ڕیزکردنەکانی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
From the Latin-script notes: «riz akain», «rizkrawa» (ڕیز دەکەین، ڕیزکراوە). The Grade 7 textbook also uses ڕیزکردن (Sort by). Barzinji's dictionary: پۆلێنکردن و جیاکردنەوە، فەرز، ڕێککردن، ڕێکخستن، هاوپۆل کردن. The definition was made general because Technical English units use sorting for spreadsheets and databases too; PHP's sort functions are now in the example.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Why sorting is a common computer job, and how selection sort puts a list of numbers in order step by step.
بۆچی یەکێکە لە کارە هەرە باوەکانی و چۆن selection sort هەنگاو بە هەنگاو کۆمەڵێک ژمارە ڕیز دەکات.
Learn more inزیاتر فێربە لە
- Sorting Arraysڕیزکردنی ڕیزەکەکان
- Databases and Dataبنکەدراوەکان و دراوە
- Bubble Sort, Insertion Sort and How Fast Sorting Isڕیزکردنی بڵقی، ڕیزکردن بە تێخستن و خێرایی ڕیزکردن
- sum, max, min and Sortingsum، max، min و ڕیزکردن
- Binary Search and Hashingگەڕانی دووانی و هاشکردن
- Processing Two-Dimensional Listsکارکردن لەسەر لیستە دووڕەهەندەکان
- Functions for Arraysکردارەکانی ڕیزەک
- Arrays in PHPڕیزەکەکان لە PHPـدا
- Queriesپرسەکان
- Formsفۆرمەکان
- Priority Queues and Heapsکیووە پێشینەییەکان و هیپەکان
- Adding to a List and Finding Itemsزیادکردن بۆ لیستێک و دۆزینەوەی دانەکان
- Tables, Fields and Datasheetsخشتەکان، ستوونەکان و پەڕەکانی دراوە
- Probability in Computing: Speech, Predictive Text and Riskبەکارهێنانی ئەگەر لە بواری کۆمپیوتەردا: ئاخاوتن، پێشبینیی دەق و مەترسی
- Working with Stringsکارکردن لەگەڵ زنجیرەنووسەکان
- Better SELECT Queries: Conditions, Ranges, Lists, Patterns and NULLباشترکردنی فەرمانی SELECT: مەرجەکان، ماوەکان، لیست، شێوازی دەق و NULL
- Lists, References, Copies and Functionsلیستەکان، ئاماژەکان، کۆپی و کردارەکان
- Project: A Word-Scramble Gameپڕۆژیلە: یاریی پیتە تێکەڵەکان
- ASCII and Character CodesASCII و کۆدەکانی نووسە
- Databases and SQL basicsبنکەدراوەکان و بنەماکانی SQL
- Course review and practiceپێداچوونەوە و ڕاهێنانی کۆرسەکە
- Agent Programs, Pseudocode and Algorithm Analysisبەرنامەکانی ئەیجێنت، نیمچەکۆد و شیکارکردنی ئەلگۆریزم
- What Is Microsoft Access?Microsoft Access چییە؟
- Errors and Debuggingهەڵەکان و کرمەکوژی
- Lists: Creating and Indexingلیستەکان: دروستکردن و ئیندێکسەکان
- Removing Items, Joining and Comparing Listsلابردنی دانەکان، پێکەوەلکاندن و بەراوردکردنی لیستەکان
- Stacks: Last In, First Outستاکەکان: دوایین هاتوو، یەکەم دەرچوو
- Queues and Deques: First In, First Outکیووەکان و کیووە دووسەرەکان: یەکەم هاتوو، یەکەم دەرچوو
- Python Next to JavaPython لە تەنیشت Javaـەوە
- Operatorsکارپێکەرەکان