title: Flutter sort list by value
body: <p>how i can sort my List by one of my values from list?</p>
  <p>here is a example of my list</p>
  <pre><code>  List data = [
      {'name': 'Example1', 'value1': 10, 'value2': 0},
      {'name': 'Example2', 'value1': 0, 'value2': 10},
      {'name': 'Example3', 'value1': 15, 'value2': 5},
      {'name': 'Example4', 'value1': 22.5, 'value2': 10},
  ];
  </code></pre>
  <p>and so I call it</p>
  <pre><code>           Column(
              children: data.map((info) {
            return Container(
              child: SizedBox(
                child: Row(
                  children: [
                    Text(info['name'],),
                    Text(info['value1'],),
                  ],
                ),
              ),
            );
          }).toList())
  </code></pre>
  <p>this is how my list is listed from top to bottom</p>
  <p>how can i sort it by value?</p>
  <p>How can I hide an entry if the value is 0?</p>