Reference+
Name
sortValuesReverse()
Class
StringDict
Description
Sort by values in descending order
Examples
StringDict inventory; void setup() { size(200, 200); inventory = new StringDict(); inventory.set("flour","white"); inventory.set("coffee","black"); inventory.set("tea","green"); println(inventory); inventory.sortValuesReverse(); println(inventory); }
Syntax
.sortValuesReverse()
Return
void
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.