Skip to main content

How to Sort Trades by P&L, Date or Symbol

The TradeLyser Trades Log can be sorted by any column you can see: Net P&L, Trade Date, Symbol, Net RoI, Quantity, Hold Time, R-Multiple and more. Sorting is one click on a column header and works across every page of your filtered trades, so the biggest loser of the month is always on the first row when you ask for it.

Sorting helps you:

  • Find your biggest winning and losing trades in a period.
  • Group the same symbol together, or spot your longest holds.
  • Check which trades have no stop loss or rating (blank values sort to the bottom).

What you need​

RequirementWhere to get it
Trades in the Trades LogSync broker trades or import a CSV
The right account and periodThe account selector in the header and the Dashboard date range. See Filter trades by date.
The first click sorts ascending

Clicking a column header the first time sorts from lowest to highest. On Net P&L that puts your biggest losses at the top. Click the same header again to see your biggest wins first.

Step 1: Open the Trades Log​

Open Trades Log from the sidebar. Without a sort applied, trades are listed newest first.

The Trades Log in TradeLyser with sortable column headers and the performance metrics strip

Step 2: Click a column header​

Click the header of the column you want to sort by. Each click moves through three states:

ClickOrder
FirstAscending: lowest to highest, A to Z, oldest to newest
SecondDescending: highest to lowest, Z to A, newest to oldest
ThirdSort off: back to the default order

Clicking a different column starts that column at ascending. Only one column is sorted at a time.

Step 3: Add the columns you want to sort by​

Only visible columns can be sorted. The default columns are Trade Date, Symbol, Direction, Status, Quantity, Entry Price, Exit Price, Net P&L, Net RoI and Closed Date.

To sort by something else, click Columns and switch it on. Columns are grouped as:

GroupColumns
CoreTrade Date, Symbol, Direction, Status
Tags & strategyStrategy, Setups, Mistakes, Rating
InstrumentQuantity, Call/Put, Strike, Expire
PricesEntry Price, Exit Price, Avg Entry, Avg Exit, Buy Amount, Sell Amount, Cost
P&LGross P&L, Fees, Taxes, Net P&L, Net RoI, P&L / Share
RiskStop Loss, Target, Risk, R-Multiple
TimingOpen Time, Closed Date, Close Time, Hold Time
AccountPortfolio, Executions

The Columns menu in the Trades Log, used to show more fields such as R-Multiple, Hold Time and Rating

Your column choice is saved on this browser.

Useful sort orders​

GoalSort
Biggest losers firstNet P&L, one click
Biggest winners firstNet P&L, two clicks
Best return on capitalNet RoI, two clicks
Trades held longestHold Time, two clicks
Worst risk outcomesR-Multiple, one click
Highest-cost tradesFees or Taxes, two clicks
Lowest-rated tradesRating, one click (unrated trades go to the bottom)
Same symbol togetherSymbol, one click

How sorting works with filters and grouping​

  • Filters first, then sort. Sorting applies to all trades that match your date range, search and filters, before the list is split into pages.
  • Blank values sort last in both directions. Trades without a stop loss, rating or tag appear at the bottom.
  • Tag and strategy columns sort alphabetically by name.
  • Group by Symbol or Underlying: groups are listed alphabetically until you sort, then by the group's value for that column.
  • The metrics strip doesn't change when you sort. It always summarises the filtered trades.
  • Sorting lasts for the current visit. When you leave the Trades Log and come back, the default order returns.

Troubleshooting​

ProblemFix
A column can't be sortedIt isn't visible. Turn it on under Columns.
The sort disappearedYou clicked the header a third time, or left the page. Click the header again.
The top trade isn't the one you expectedCheck the date range, search box and Active filters. Sorting only covers the trades that match them.
Trades without a value are at the bottomExpected. Blank values always sort last.

Frequently asked questions​

How do I see my biggest losing trades in TradeLyser?​

Open the Trades Log and click the Net P&L header once. Set the Dashboard date range first to choose the period.

What is the default order of the Trades Log?​

Newest trades first, until you click a column header.

Can I sort by two columns at once?​

No. One column is sorted at a time. Use Filter or Group by to narrow the list, then sort.