[This is preliminary documentation and is subject to change.]

Gets or sets the value determining wether to reverse the order of the rows returned by the task

Namespace:  Firefly.Box
Assembly:  Firefly.Box (in Firefly.Box.dll) Version: (


public bool Reversed { get; set; }
Visual Basic (Declaration)
Public Property Reversed As Boolean
Visual C++
property bool Reversed {
	bool get ();
	void set (bool value);


This example demonstrates the usage of ReversedSort
This example is in the form of Unit Tests. It references the NUnit framework. This framework can be downloaded from www.NUnit.org. For more information about unit testing visit: www.NUnit.org.
This example is based on test data. The code for the entities included in this test data can be found in the documentation of Entity
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using Firefly.Box;
using Firefly.Box.Testing;

namespace TestFirefly.Box.Documentation
    public class ReversedSort
        public void ReversedSortExample()
            string jobTitles = "";
            var jobs = new Pubs.Jobs();

            var bp = new BusinessProcess
                From = jobs

            bp.OrderBy.Segments.Add(jobs.MinLevel); // Uses the segment property

            bp.ForEachRow(() => jobTitles += jobs.MinLevel.ToString().Trim() + ",");


            bp.OrderBy.Reversed = true;

            jobTitles = "";

            bp.ForEachRow(() => jobTitles += jobs.MinLevel.ToString().Trim() + ",");


See Also